mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
* rotate both daily and by size by using maxsize in stead of size * decrease the max size to 10M for rsyslog files * remove delaycompress for rsyslog files * increase rotate to 10 for cloud.log
38 lines
531 B
Plaintext
38 lines
531 B
Plaintext
/var/log/syslog
|
|
{
|
|
rotate 7
|
|
daily
|
|
maxsize 10M
|
|
missingok
|
|
notifempty
|
|
compress
|
|
postrotate
|
|
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
|
|
endscript
|
|
}
|
|
|
|
/var/log/mail.info
|
|
/var/log/mail.warn
|
|
/var/log/mail.err
|
|
/var/log/mail.log
|
|
/var/log/daemon.log
|
|
/var/log/kern.log
|
|
/var/log/auth.log
|
|
/var/log/user.log
|
|
/var/log/lpr.log
|
|
/var/log/cron.log
|
|
/var/log/debug
|
|
/var/log/messages
|
|
{
|
|
rotate 10
|
|
daily
|
|
maxsize 10M
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
|
|
endscript
|
|
}
|