Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
1 root 1
/var/log/squid/cache.log {
2
    weekly
3
    rotate 5
4
    copytruncate
5
    compress
6
    notifempty
7
    missingok
8
}
9
 
10
/var/log/squid/store.log {
11
    weekly
12
    rotate 5
13
    copytruncate
14
    compress
15
    notifempty
16
    missingok
17
# This script asks squid to rotate its logs on its own.
18
# Restarting squid is a long process and it is not worth
19
# doing it just to rotate logs
20
    postrotate
21
      /usr/sbin/squid -k rotate
22
    endscript
23
}