Re: Log rotation? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Log rotation?
Date
Msg-id Pine.LNX.4.30.0109071602350.680-100000@peter.localdomain
Whole thread Raw
In response to Re: Log rotation?  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List 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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Beta Monday?
Next
From: Karel Zak
Date:
Subject: Re: Beta Monday?