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
>
Thank you , please if you can give me more ditaille because i m not stronge
in squid
this my crontab
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
many thanks
-- View this message in context: http://www.nabble.com/logrotate-in-squid-tp25728886p25750483.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Mon Oct 05 2009 - 13:06:20 MDT
This archive was generated by hypermail 2.2.0 : Tue Oct 06 2009 - 12:00:02 MDT