From: Christoph Anton Mitterer <calestyo@scientia.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Date: Mon, 20 Feb 2012 03:59:53 +0100
Message-ID: <1329706793.6199.79.camel@fermat.scientia.net> (raw)
In-Reply-To: <11968.1329263129@sss.pgh.pa.us>
References: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org>
<11968.1329263129@sss.pgh.pa.us>
Hi.
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).
> > However it seems that if the later is off, but the former is set (to
> > anything), no log output goes to stderr as well.
>
> That would depend on other settings that you haven't mentioned,
> particularly log_destination. Keep in mind also that the active setting
> of logging_collector can't be changed without a postmaster restart
> (which is why it's a separate variable from log_destination).
log_destination is commented, thus default stderr should apply.
And of course I've restarted.
Cheers,
Chris.
btw: I'll be on vacation till 1st of March, so don't expect any soon
answers.
Attachments:
smime.p7s (application/x-pkcs7-signature, 5.5K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: calestyo@scientia.net, tgl@sss.pgh.pa.us
Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
In-Reply-To: <1329706793.6199.79.camel@fermat.scientia.net>
References: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org> <11968.1329263129@sss.pgh.pa.us> <1329706793.6199.79.camel@fermat.scientia.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox