]> git.pld-linux.org Git - packages/squid.git/commitdiff
- Added rotation of store.log and cache.log.
authormkochano <mkochano@pld-linux.org>
Fri, 24 Mar 2000 14:48:37 +0000 (14:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid.logrotate -> 1.2

squid.logrotate

index b44be1f44978b847073a0945896b9187eb647f46..3b4c6146ce97c66878f8a66d78cc84b52916cdd6 100644 (file)
@@ -3,6 +3,19 @@
        daily
        rotate 7
        compress
+       create 640 nobody root
+       postrotate
+               # signal Squid to restart logging with the new files
+               /usr/bin/killall -USR1 squid
+       endscript
+}
+
+/var/log/squid/[sc]*.log {
+       olddir /var/log/archiv/squid
+       weekly
+       rotate 4
+       compress
+       create 640 nobody root
        postrotate
                # signal Squid to restart logging with the new files
                /usr/bin/killall -USR1 squid
This page took 0.0476220000000001 seconds and 4 git commands to generate.