Re: [squid-users] How to set /etc/logrotate.d/squid to have good sarg reports?

From: Bartosz.C <bartosz.c_at_gmail.com>
Date: Thu, 29 Nov 2012 13:51:00 +0100

> My system runs the "sarg" reports at the end of the day, as a separate
> cronjob, and "logrotate" runs in the very early morning, as part of
> "cron.daily".
> Helmut

So how can you create weekly and monthly reports if you create every
day new log file?

/etc/sarg/sarg.conf
# TAG: access_log file
# Where is the access.log file
# sarg -l file
#
access_log /var/log/squid/access.log

And after rotating you are having only one day in log file, dont you?
Bartosz.
Received on Thu Nov 29 2012 - 12:51:09 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 29 2012 - 12:00:05 MST