Re: Log rotation?

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2001-09-07T14:04:24Z
Lists: pgsql-hackers
Christopher Kings-Lynne writes:

> Yeah, I use FreeBSD's wonderful newsyslog utility, and I do my logging like
> this:
>
> su -l pgsql -c '[ -d ${PGDATA} ] && exec /usr/local/bin/pg_ctl
> start -s -w -o "-i" -l /var/log/pgsql.log'
>
> And my /etc/newsyslog.conf entry:
>
> /var/log/pgsql.log      pgsql:pgsql     600  3     4096 *     Z

Sorry, this does not convey any information to me.  Does this newsyslog
thing do anything that's so smart that we should know about it?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter