-/var/log/squid/access.log {
- olddir /var/log/archiv/squid
- daily
- rotate 7
+/var/log/squid/access*.log {
+ olddir /var/log/archive/squid
+ weekly
+ rotate 4
+# dateext
compress
create 660 root squid
postrotate
# signal Squid to restart logging with the new files
/usr/sbin/squid -k rotate
endscript
+ sharedscripts
}
/var/log/squid/[sc]*.log {
- olddir /var/log/archiv/squid
+ olddir /var/log/archive/squid
weekly
rotate 4
compress
# signal Squid to restart logging with the new files
/usr/sbin/squid -k rotate
endscript
+ sharedscripts
}