Re: Log files, how to rotate properly - Mailing list pgsql-general

From Vivek Khera
Subject Re: Log files, how to rotate properly
Date
Msg-id x7u21hvcn9.fsf@onceler.kciLink.com
Whole thread Raw
In response to Re: Log files, how to rotate properly  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: Re: Log files, how to rotate properly  (Martín Marqués <martin@bugs.unl.edu.ar>)
List pgsql-general
>>>>> "LO" == Lamar Owen <lamar.owen@wgcr.org> writes:

LO> Then whose fault is that?  Is it our syslog calling, or the
LO> receiving syslog not hearing?  (Yes, I know that by default syslog
LO> uses UDP)....

Not on FreeBSD (probably most other BSD's as well), the default is to
use a named pipe.

Anyhow what is the best way to make postgres stop stderr logging when
syslog logging is turned on?  Right now I use "-l /dev/null" to pg_ctl
when starting the server.  This seems to me that the server will still
waste cycles doing the stderr printing.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Joseph Koenig
Date:
Subject: Progress -> PostgreSQL Replication?
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re:7.1.2-4PGDG RPMset uploading.