Log Rotation

Gerard Samuel fbsd-questions at trini0.org
Sun Dec 28 10:03:16 PST 2003


On Sunday 28 December 2003 12:36 pm, Lowell Gilbert wrote:
> Gerard Samuel <fbsd-questions at trini0.org> writes:
> > In particular, Im looking to see if there is a "FreeBSD" way in
> > rotating PostgreSQL logs.
> > Any advise would be appreciated.
>
> newsyslog(8) is part of the base system...

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.
http://www.postgresql.org/docs/7.3/interactive/logfile-maintenance.html
Ill have to let that sink in the brain, before I try messing with it.




More information about the freebsd-questions mailing list