espoire20 wrote:
-ronin- 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
On Ubuntu 8.04 I use the command "/usr/sbin/squid -k rotate" in a script
that runs weekly in
cron.
Best regards
Dayo
Thank you for your answer , me i use fedora . If you know how to do in
fedora will be thankfull
many thanks
It's probably the same. Check "man squid" to see the options. Also check
"which squid" to get
the full path of squid on fedora.
Best regards
Dayo