How does 'rotatelogs' work?

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

 



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?

[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