]> git.pld-linux.org Git - packages/squid.git/blobdiff - squid.logrotate
- up to 2.6.STABLE17; STBR (security)
[packages/squid.git] / squid.logrotate
index e5513c51023d324bcbe7121918e700015b64ec6e..4430a785f9f9dca976ce9c8ea93a79eb0ff2dfab 100644 (file)
@@ -1,17 +1,19 @@
-/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
@@ -20,4 +22,5 @@
                # signal Squid to restart logging with the new files
                /usr/sbin/squid -k rotate
        endscript
+       sharedscripts
 }
This page took 0.040579 seconds and 4 git commands to generate.