]> git.pld-linux.org Git - packages/squid.git/blob - squid.logrotate
- rotate access.log and other logs separately to allow setting different rotating...
[packages/squid.git] / squid.logrotate
1 /var/log/squid/access*.log {
2         olddir /var/log/archiv/squid
3         weekly
4         rotate 4
5 #       dateext
6         compress
7         create 660 root squid
8         postrotate
9                 # signal Squid to restart logging with the new files
10                 /usr/sbin/squid -k rotate
11         endscript
12         sharedscripts
13 }
14
15 /var/log/squid/[sc]*.log {
16         olddir /var/log/archiv/squid
17         weekly
18         rotate 4
19         compress
20         create 660 root squid
21         postrotate
22                 # signal Squid to restart logging with the new files
23                 /usr/sbin/squid -k rotate
24         endscript
25         sharedscripts
26 }
This page took 0.039352 seconds and 4 git commands to generate.