Re: Log files, how to rotate properly

alex@pilosoft.com

From: Alex Pilosov <alex@pilosoft.com>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: Peter Eisentraut <peter_e@gmx.net>, Dave Cramer <Dave@micro-automation.net>, pgsql-general@postgresql.org
Date: 2001-06-14T14:31:06Z
Lists: pgsql-general
On Wed, 13 Jun 2001, Lamar Owen wrote:

> On Wednesday 13 June 2001 16:39, Peter Eisentraut wrote:
> > Lamar Owen writes:
> > > Use syslog.  Syslog has many advantages:
> > Disadvantage:
> 
> > Some messages will get lost.
> 
> I have yet to see a 'lost' syslog message here, in over three years.
Hate to say it, but: Me too!
> 
> Which is worse, though:
> 1.)	An occasional lost log message;
> 2.)	Downtime due to pulling down the entire server to rotate a log.
> 
> If syslog looses messages, let's try helping fix syslog rather than 
> recommending Yet Another Log Rotating Solution.
Absolutely. There are multiple syslogd's out there which use reliable
means of transmitting syslog messages from one machine to another...

-alex