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

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6F2929A-B2C4-4149-B5A7-5C03FB546E3B>