RE: [squid-users] Rotate log file for access.log

From: Andreas Piesk <apiesk@dont-contact.us>
Date: Thu, 6 Sep 2001 18:42:38 +0200

> From: Mehdi Melhaa [mailto:Mehdi.Melhaa@fr.clientlogic.com]
> Sent: Thursday, September 06, 2001 6:22 PM
>
> I just want to know if it's possible to configure a rotate log
> file process in squid.conf.
>
> I mean , I want to know if every day (at minight) squid can
> store access.log in access.log.1
>
> I known that is possible to do that with a script in crontab
> put I prefer to include it in squid.
>

why not using logrotate for this job ? logrotate is highly configurable.

i let logrotate do all the log stuff.

ciao -ap

System Administration
VIRBUS AG
Fon +49(0)341-979-7424
Fax +49(0)341-979-7409
andreas.piesk@virbus.de
www.virbus.de
Received on Thu Sep 06 2001 - 10:50:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:04 MST