Sarge Reports and Squid Log Rotate
cwagz last edited by
I used to be able to set squid up so that it would not rotate its log files. I would then create schedules in Sarg and have the monthly schedule rotate the squid logs after it ran. It seemed like this worked out okay.
The option to have Sarg rotate the squid log files has been removed. How can I get more than one day's worth of log data from the squid logs now when running a Sarg report? If I put a number of days into the squid settings for log rotation it rotates the logs each night and makes the previous days data unavailable to Sarg.
LFCavalcanti last edited by
I noticed that too.
I installed Cron and edited the daily schedule for Squid, removing the rotate command.
/usr/pbi/squid-amd64/sbin/squid -k rotate -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf
/usr/pbi/squid-amd64/sbin/squid -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf
I'm sure someone will jump here and say no change was made to Squid or Sarg that affects this... right...