Re: montly log rotation

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

 



On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote:
> Hi,
> 
> I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual hosts,
> with each their own access and error log.
> 
> I have been looking at rotatelogs so i dont have to restart/reload apache,
> but the rotatelogs only rotate logs on a time interval, or logs size
> count.
> 
> I would like to rotate all the logs on ex. the last nigth in a month, so i
> get to logs for each month, for each virtual host, and then delete the old
> logs when they are a year old.
> 
> I need help on this quest.
> 
> 
> Thank you in advance.
> 
> Best regards, Ebbe, Denmark
> 

We use cronolog for this. http://cronolog.org/

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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