Re: How does 'rotatelogs' work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2012 at 11:37 AM, Daniele Imbrogino
<d.imbrogino@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux