2013-02-25 19:01:04 -08:00
|
|
|
/srv/newsblur/logs/*.log {
|
2011-04-01 19:40:02 -04:00
|
|
|
daily
|
2013-07-30 13:39:19 -07:00
|
|
|
size 50M
|
2011-03-23 15:43:15 -04:00
|
|
|
rotate 10
|
|
|
|
copytruncate
|
|
|
|
delaycompress
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
missingok
|
2013-08-13 15:45:40 -07:00
|
|
|
su sclay sclay
|
2012-01-31 10:15:11 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/nginx/*.log {
|
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
copytruncate
|
|
|
|
delaycompress
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
missingok
|
|
|
|
}
|
|
|
|
|
2013-03-17 12:39:05 -07:00
|
|
|
/var/log/haproxy*.log {
|
2015-01-10 12:01:29 -08:00
|
|
|
su root root
|
2013-03-17 12:39:05 -07:00
|
|
|
rotate 4
|
|
|
|
weekly
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
delaycompress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
reload rsyslog >/dev/null 2>&1 || true
|
|
|
|
endscript
|
2013-07-30 13:39:19 -07:00
|
|
|
}
|