rotatelogs is rotating too quickly...
John Almberg
jalmberg at identry.com
Wed Aug 20 14:03:54 UTC 2008
> That does not look like 5 Meg but 5 Minutes.
>
I don't think so... From the man pages:
CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common
This configuration will rotate the logfile whenever it
reaches a size
of 5 megabytes.
ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_
%M_%S 5M"
This configuration will rotate the error logfile whenever it
reaches a
size of 5 megabytes, and the suffix to the logfile name will
be created
of the form errorlog.YYYY-mm-dd-HH_MM_SS.
More information about the freebsd-questions
mailing list