rotatelogs is rotating too quickly...

Riaan Kruger 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
>  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.
>
>

Oops sorry.  Didn't look close. Initial "inspection" of log file times
looked like 5 mins.

Riaan.


More information about the freebsd-questions mailing list