log files rotation

Pete French pete at twisted.org.uk
Tue Sep 24 20:57:06 BST 2002

> newsyslog(8) and /etc/newsyslog.conf is rotating the log files in
> freebsd, may be you could use it to rotate the apache logs, i`m
> using it actually..

Caveat: It restrats your websever - this kills any processes which might be
running in it when the logs rotate. I found this out the hard way (database
corruption due to incomplete writes from a CGI script when the logs rotated)


More information about the Ukfreebsd mailing list