blob: e697e428f3ddda7c0a94d0810b9785d136fe619b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/var/log/varnish/varnishncsa.log {
daily
rotate 31
copytruncate
dateext
dateyesterday
delaycompress
compress
notifempty
missingok
prerotate
/etc/init.d/varnishncsa -q status && /etc/init.d/varnishncsa -q flush
endscript
}
/var/log/varnish/varnishlog.log {
daily
rotate 31
copytruncate
dateext
dateyesterday
delaycompress
compress
notifempty
missingok
prerotate
/etc/init.d/varnishlog -q status && /etc/init.d/varnishlog -q flush
endscript
}
|