rotatelogs is rotating too quickly...
riaank at gmail.com
Wed Aug 20 14:09:29 UTC 2008
On Wed, Aug 20, 2008 at 4:03 PM, John Almberg <jalmberg at identry.com> wrote:
> 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
> of 5 megabytes.
> ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S
> This configuration will rotate the error logfile whenever it reaches
> size of 5 megabytes, and the suffix to the logfile name will be
> of the form errorlog.YYYY-mm-dd-HH_MM_SS.
Oops sorry. Didn't look close. Initial "inspection" of log file times
looked like 5 mins.
More information about the freebsd-questions