cvsdist 8d13385
/var/log/squid/access.log {
cvsdist 8d13385
    weekly
cvsdist 8d13385
    rotate 5
cvsdist 8d13385
    copytruncate
cvsdist 8d13385
    compress
cvsdist 8d13385
    notifempty
cvsdist 8d13385
    missingok
cvsdist 8d13385
}
cvsdist 8d13385
/var/log/squid/cache.log {
cvsdist 8d13385
    weekly
cvsdist 8d13385
    rotate 5
cvsdist 8d13385
    copytruncate
cvsdist 8d13385
    compress
cvsdist 8d13385
    notifempty
cvsdist 8d13385
    missingok
cvsdist 8d13385
}
cvsdist 8d13385
cvsdist 8d13385
/var/log/squid/store.log {
cvsdist 8d13385
    weekly
cvsdist 8d13385
    rotate 5
cvsdist 8d13385
    copytruncate
cvsdist 8d13385
    compress
cvsdist 8d13385
    notifempty
cvsdist 8d13385
    missingok
cvsdist 8d13385
# This script asks squid to rotate its logs on its own.
cvsdist 8d13385
# Restarting squid is a long process and it is not worth
cvsdist 8d13385
# doing it just to rotate logs
cvsdist 8d13385
    postrotate
cvsdist 8d13385
      /usr/sbin/squid -k rotate
cvsdist 8d13385
    endscript
cvsdist 8d13385
}