Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1E8DD77CE83 for ; Mon, 20 Feb 2012 01:26:53 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RzLlz-0004pq-CQ for pgsql-bugs@postgresql.org; Mon, 20 Feb 2012 05:26:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q1K5QcjI022833; Mon, 20 Feb 2012 00:26:38 -0500 (EST) To: Christoph Anton Mitterer cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu In-reply-to: <1329706793.6199.79.camel@fermat.scientia.net> References: <11968.1329263129@sss.pgh.pa.us> <1329706793.6199.79.camel@fermat.scientia.net> Comments: In-reply-to Christoph Anton Mitterer message dated "Mon, 20 Feb 2012 03:59:53 +0100" Date: Mon, 20 Feb 2012 00:26:37 -0500 Message-ID: <22832.1329715597@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/144 X-Sequence-Number: 32487 Christoph Anton Mitterer writes: > On Tue, 2012-02-14 at 18:45 -0500, Tom Lane wrote: >> calestyo@scientia.net writes: >>> http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html >>> claims that log_filename is only used when logging_collector is enabled. >> That is a true statement, as can easily be proven by looking at the >> source code: nothing except syslogger.c pays any attention to the >> Log_filename variable. > Well nevertheless,... if set, I get no stderr output at all (which > Debian uses per default as log source). I wonder whether Debian's startup script is doing something that affects this? Because it's pretty hard to explain otherwise. regards, tom lane