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

From: Mehdi Melhaa <Mehdi.Melhaa@dont-contact.us>
Date: Thu, 6 Sep 2001 18:37:59 +0200

Thanks for you help Mike .
I'll test it.

Mehdi

-----Message d'origine-----
De : Mike Diggins [mailto:diggins@mcmail.cis.mcmaster.ca]
Envoyé : jeu. 6 septembre 2001 18:34
À : Mehdi Melhaa
Cc : squid-users@squid-cache.org
Objet : Re: [squid-users] Rotate log file for access.log

squid -k rotate (put that in a cron job to run at midnight). In
squid.conf, change the parameter logfile_rotate to the number of old logs
you wish to keep.

-Mike

On Thu, 6 Sep 2001, Mehdi Melhaa wrote:

> Hi,
>
> 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.
>
> Regards,
>
> Mehdi
>
>
Received on Thu Sep 06 2001 - 10:38:02 MDT

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