]>
Commit | Line | Data |
---|---|---|
913a1c4a | 1 | /var/log/squid/access.log { |
2 | olddir /var/log/archiv/squid | |
3 | daily | |
4 | rotate 7 | |
5 | compress | |
6dde8a27 | 6 | create 660 root squid |
4fcb994a | 7 | postrotate |
8 | # signal Squid to restart logging with the new files | |
87e10344 | 9 | /usr/sbin/squid -k rotate |
4fcb994a | 10 | endscript |
11 | } | |
12 | ||
13 | /var/log/squid/[sc]*.log { | |
14 | olddir /var/log/archiv/squid | |
15 | weekly | |
16 | rotate 4 | |
17 | compress | |
6dde8a27 | 18 | create 660 root squid |
913a1c4a | 19 | postrotate |
20 | # signal Squid to restart logging with the new files | |
87e10344 | 21 | /usr/sbin/squid -k rotate |
913a1c4a | 22 | endscript |
23 | } |