Search squid archive

Re: logrotate in squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux