pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: calestyo@scientia.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Date: Tue, 14 Feb 2012 18:45:29 -0500
Message-ID: <11968.1329263129@sss.pgh.pa.us> (raw)
In-Reply-To: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org>
References: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org>

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.

> 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).

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <11968.1329263129@sss.pgh.pa.us>
Permalink:  ../11968.1329263129@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11968.1329263129@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, calestyo@scientia.net
  Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
  In-Reply-To: <11968.1329263129@sss.pgh.pa.us>
  References: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org> <11968.1329263129@sss.pgh.pa.us>

* 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