Subversion Repositories ALCASAR

Rev

Rev 40 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
1 root 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 {
11
    weekly
12
    rotate 5
13
    copytruncate
14
    compress
15
    notifempty
16
    missingok
17
}
18
 
19
/var/log/squid/store.log {
20
    weekly
21
    rotate 5
22
    copytruncate
23
    compress
24
    notifempty
25
    missingok
26
# This script asks squid to rotate its logs on its own.
27
# Restarting squid is a long process and it is not worth
28
# doing it just to rotate logs
29
    postrotate
30
      /usr/sbin/squid -k rotate
31
    endscript
32
}