-/var/log/squid/[asc]*.log {
- olddir /var/log/archiv/squid
- weekly
- rotate 4
+/var/log/squid/access*.log {
+ su root squid
+ olddir /var/log/archive/squid
+# 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 {
+ su root squid
+ olddir /var/log/archive/squid
+ compress
+ create 660 root squid
+ postrotate
+ # signal Squid to restart logging with the new files
+ /usr/sbin/squid -k rotate
+ endscript
+ sharedscripts
}