Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 16:09:27 +0200
From:      "Riaan Kruger" <riaank@gmail.com>
To:        "John Almberg" <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rotatelogs is rotating too quickly...
Message-ID:  <85c4b1850808200709y51e4f8f0g7961fecefdb126ed@mail.gmail.com>
In-Reply-To: <D6F2929A-B2C4-4149-B5A7-5C03FB546E3B@identry.com>
References:  <482E252F-3819-46DD-A272-A174C1B41333@identry.com> <85c4b1850808200649l2cf42462nfa7d64fe09fa1253@mail.gmail.com> <D6F2929A-B2C4-4149-B5A7-5C03FB546E3B@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 20, 2008 at 4:03 PM, John Almberg <jalmberg@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85c4b1850808200709y51e4f8f0g7961fecefdb126ed>