Re: Log files, how to rotate properly

Dominic J. Eidson <sauron@the-infinite.org>

From: "Dominic J. Eidson" <sauron@the-infinite.org>
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-13T21:45:18Z
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.

I've actually seen lost and partial/mangled messages come out of syslog -
during a 7Mbit/second DDoS that was being logged due to ipchains ... -l.

Not that this happens _too_ often - we're talking 58k lines of log in a
very short amount of time.

(I agree with Lamar - it's just a "I've seen it happen" :)


-- 
Dominic J. Eidson
                                        "Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/              http://www.the-infinite.org/~dominic/