Skip site navigation (1) Skip section navigation (2)

Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: calestyo(at)scientia(dot)net
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Date: 2012-02-14 23:45:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
calestyo(at)scientia(dot)net writes:
> 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

In response to


pgsql-bugs by date

Next:From: Andy GrimmDate: 2012-02-15 05:09:12
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
Previous:From: calestyoDate: 2012-02-14 21:09:24
Subject: BUG #6459: logging_collector=off but log_filename set inhibitslogoutpu

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group