pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph Anton Mitterer <calestyo@scientia.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Date: Mon, 20 Feb 2012 00:26:37 -0500
Message-ID: <22832.1329715597@sss.pgh.pa.us> (raw)
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>

Christoph Anton Mitterer <calestyo@scientia.net> 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



view thread (5+ messages)  latest in thread

Message-ID: <22832.1329715597@sss.pgh.pa.us>
Permalink:  ../22832.1329715597@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22832.1329715597@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: <22832.1329715597@sss.pgh.pa.us>
  References: <E1RxPcq-0002Fi-HQ@wrigleys.postgresql.org> <11968.1329263129@sss.pgh.pa.us> <1329706793.6199.79.camel@fermat.scientia.net> <22832.1329715597@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