Search squid archive

Re: logrotate in squid

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

 



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


http://wiki.squid-cache.org/SquidFaq/SquidLogs#My_log_files_get_very_big.21

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
  Current Beta Squid 3.1.0.14

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

  Powered by Linux