Subversion Repositories ALCASAR

Rev

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

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