Re: [squid-users] logrotate in squid

From: Dayo Adewunmi <contactdayo_at_gmail.com>
Date: Sat, 03 Oct 2009 23:01:21 +0100

espoire20 wrote:
> I use sarg to generate the report but my disk space come full now so
> i need to create a logrotate. so like this i can rotates my logs every day
> and automatically delete the eldest logs. I should configure it to rotate my
> squid logs every week and keep the logs for more than four weeks I want to
> be able to produce monthly reports. Of course, adjust this according to the
> traffic in my proxy , like this i can have the free disk space in my
> server.
>
> please you know how i can create the logrotate ??
>
> many thanks
>
On Ubuntu 8.04 I use the command "/usr/sbin/squid -k rotate" in a script
that runs weekly in
cron.

Best regards

Dayo
Received on Sat Oct 03 2009 - 22:01:44 MDT

This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 12:00:02 MDT