httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] How does 'rotatelogs' work?
Date Mon, 17 Dec 2012 16:47:46 GMT
On Mon, Dec 17, 2012 at 11:37 AM, Daniele Imbrogino
<d.imbrogino@gmail.com> wrote:
> Hi everybody.
>
> I'm using Apache 2.4.3 on Ubuntu 12.04 and I'm trying to use `rotatelogs`
> with the following directive
>
>     CustomLog "|/usr/local/apache2/bin/rotatelogs
> logs/logrotation/access_log.%Y.%m.%d.%M.%S 10" common
>
> where I set an interval of 10 seconds just to understand if the program
> works.
>
> As I understand, this allows to rotate log every 10 seconds, right?
>
> But there are not log files saved in the specified folder.
>
> Why?

It only wakes up to check the interval when a log entry is written

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message