log files rotation
mark at blackmans.org
Wed Sep 25 09:19:20 BST 2002
As the port maintainer, I'm obliged to point out that
sysutils/cronolog is a very nice tool to point your
logging at. :) As you get log file names based on the
current time and date, you automatically get log rotation.
I believe it's been mentioned in this thread already.
> On Tuesday, September 24, 2002, at 08:57 PM, Pete French wrote:
> >> 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)
> You might also consider switching to a database engine that does
> transactions since cgis can stop dead for other reasons.
> Robin Melville
> Addiction Information
> Nottingham Alcohol & Drug Team
> ------ FreeBSD UK Users' Group - Mailing List ------
More information about the Ukfreebsd