m.seaman at infracaninophile.co.uk
Sun Dec 28 11:28:58 PST 2003
On Sun, Dec 28, 2003 at 01:03:14PM -0500, Gerard Samuel wrote:
> Yes, Im familiar with newsyslog, but Im not sure how it will play with
> rotating PostgreSQL's log file, as PostgreSQL seems to need some extra TLC
> when rotating the log while PostgreSQL is running.
> Ill have to let that sink in the brain, before I try messing with it.
http://www.cronolog.org/ -- configure postgresql to log to stdout or
stderr and pipe the data into cronolog. It will generate logfiles
based on the time & date, but you'll have to write a script to deal
with the oldest log files.
It's in ports as sysutils/cronolog
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031228/0fcd2706/attachment.bin
More information about the freebsd-questions