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