Re: [squid-users] logrotate in squid

From: espoire20 <zakariase2002_at_yahoo.fr>
Date: Tue, 6 Oct 2009 02:19:10 -0700 (PDT)

espoire20 wrote:
>
>
>
> 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
>

can you give me more details please , I m bloked

-- 
View this message in context: http://www.nabble.com/logrotate-in-squid-tp25728886p25765349.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Oct 06 2009 - 09:19:15 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 06 2009 - 12:00:02 MDT