Subversion Repositories ALCASAR

Rev

Rev 426 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 426 Rev 958
1
/var/log/squid/access.log {
1
/var/log/squid/access.log {
2
    weekly
2
    weekly
3
    rotate 52
3
    rotate 52
4
    dateext
4
    dateext
5
    copytruncate
5
    copytruncate
6
    compress
6
    compress
7
    notifempty
7
    notifempty
8
    missingok
8
    missingok
9
}
9
}
10
/var/log/squid/cache.log {
10
/var/log/squid/cache.log {
11
    weekly
11
    weekly
12
    rotate 5
12
    rotate 5
13
    copytruncate
13
    copytruncate
14
    compress
14
    compress
15
    notifempty
15
    notifempty
16
    missingok
16
    missingok
17
}
17
}
18
 
18
 
19
/var/log/squid/store.log {
19
/var/log/squid/store.log {
20
    weekly
20
    weekly
21
    rotate 5
21
    rotate 5
22
    copytruncate
22
    copytruncate
23
    compress
23
    compress
24
    notifempty
24
    notifempty
25
    missingok
25
    missingok
26
# This script asks squid to rotate its logs on its own.
26
# This script asks squid to rotate its logs on its own.
27
# Restarting squid is a long process and it is not worth
27
# Restarting squid is a long process and it is not worth
28
# doing it just to rotate logs
28
# doing it just to rotate logs
29
    postrotate
29
    postrotate
30
      /usr/sbin/squid -k rotate
30
      /usr/sbin/squid -k rotate
31
    endscript
31
    endscript
32
}
32
}
33
 
33