2015-01-21 18:00:07 +08:00
|
|
|
# vim: sts=2 ts=2 sw=2 et ai
|
2015-01-01 19:57:08 +01:00
|
|
|
logrotate:
|
2015-01-22 19:35:58 +08:00
|
|
|
lookup:
|
2015-03-13 12:19:23 +00:00
|
|
|
pkg: logrotate
|
|
|
|
service: crond
|
2017-02-14 14:34:35 +01:00
|
|
|
default_config:
|
2017-03-13 11:40:09 +01:00
|
|
|
weekly: True
|
|
|
|
rotate: 52
|
|
|
|
create: True
|
|
|
|
compress: True
|
|
|
|
dateext: True
|
2015-01-21 18:00:07 +08:00
|
|
|
jobs:
|
2017-11-15 11:18:45 +01:00
|
|
|
/tmp/var/log/mysql/error:
|
2015-05-05 15:20:54 +02:00
|
|
|
config:
|
|
|
|
- weekly
|
|
|
|
- missingok
|
|
|
|
- rotate 52
|
|
|
|
- compress
|
|
|
|
- delaycompress
|
|
|
|
- notifempty
|
|
|
|
- create 640 root adm
|
|
|
|
- sharedscripts
|
|
|
|
mysql:
|
2016-01-26 16:53:08 +00:00
|
|
|
path:
|
|
|
|
- /tmp/var/log/mysql/*.log
|
2015-05-05 15:20:54 +02:00
|
|
|
config:
|
|
|
|
- weekly
|
|
|
|
- missingok
|
|
|
|
- rotate 52
|
|
|
|
- compress
|
|
|
|
- delaycompress
|
|
|
|
- notifempty
|
|
|
|
- create 640 root adm
|
|
|
|
- sharedscripts
|
2016-01-26 10:40:30 +00:00
|
|
|
syslog:
|
|
|
|
path:
|
|
|
|
- /var/log/cron
|
|
|
|
- /var/log/maillog
|
|
|
|
- /var/log/messages
|
|
|
|
- /var/log/secure
|
|
|
|
- /var/log/spooler
|
|
|
|
- /var/log/slapd.log
|
|
|
|
config:
|
|
|
|
- sharedscripts
|
|
|
|
- postrotate
|
|
|
|
- /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
- endscript
|