source: npl/internetserver/squid/logrotate.squid @ e934840

gcc484perl-5.22
Last change on this file since e934840 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 530 bytes
Line 
1/var/log/squid/access.log {
2   weekly
3   rotate 52
4   copytruncate
5   compress
6   notifempty
7   missingok
8}
9/var/log/squid/cache.log {
10   weekly
11   rotate 4
12   copytruncate
13   compress
14   notifempty
15   missingok
16}
17
18/var/log/squid/store.log {
19   weekly
20   rotate 4
21   copytruncate
22   compress
23   notifempty
24   missingok
25   # This script asks squid to rotate its logs on its own.
26   # Restarting squid is a long process and it is not worth
27   # doing it just to rotate logs
28   postrotate
29   /usr/sbin/squid -k rotate
30   endscript
31}
Note: See TracBrowser for help on using the repository browser.