We use msyslogd and it is now configured to rotate after 14 log files at /etc/logrotate.d/syslog_cisco_fwsm:
/var/log/cisco_fwsm.log {
size=200M
rotate 14
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
I changed to rotate 70 and restarted the box. But it did not rotate after the log file went over 200M. Then the msyslogd stopped.
Any ideas why it did not rotate properly?
Thanks!
Zhenning
/var/log/cisco_fwsm.log {
size=200M
rotate 14
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
I changed to rotate 70 and restarted the box. But it did not rotate after the log file went over 200M. Then the msyslogd stopped.
Any ideas why it did not rotate properly?
Thanks!
Zhenning