Re: Log rotation?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ian Lance Taylor <ian@airs.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2001-09-06T04:04:14Z
Lists: pgsql-hackers
Ian Lance Taylor <ian@airs.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>>> And no, "use syslog" doesn't count.
>> 
>> Why not?

> The standard implementations of syslog lose log entries under heavy
> load,

Okay, that's a sufficient answer for that point.

> (My personal preference these days is an approach like DJB's
> daemontools, which separates the handling of log entries from the
> program doing the logging.)

That still leads back to my first question, which is whether we can't
rely on someone else's logrotation code.

			regards, tom lane