I got:
[root@scylla logrotate.d]# /usr/sbin/logrotate -d -f /etc/logrotate.d/syslog_cisco_fwsm
reading config file /etc/logrotate.d/syslog_cisco_fwsm
reading config info for /var/log/cisco_fwsm.log
Handling 1 logs
rotating pattern: /var/log/cisco_fwsm.log forced from command line (14 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/cisco_fwsm.log
log needs rotating
rotating log /var/log/cisco_fwsm.log, log->rotateCount is 14
renaming /var/log/cisco_fwsm.log.14 to /var/log/cisco_fwsm.log.15 (rotatecount 14, logstart 1, i 14),
renaming /var/log/cisco_fwsm.log.13 to /var/log/cisco_fwsm.log.14 (rotatecount 14, logstart 1, i 13),
renaming /var/log/cisco_fwsm.log.12 to /var/log/cisco_fwsm.log.13 (rotatecount 14, logstart 1, i 12),
renaming /var/log/cisco_fwsm.log.11 to /var/log/cisco_fwsm.log.12 (rotatecount 14, logstart 1, i 11),
renaming /var/log/cisco_fwsm.log.10 to /var/log/cisco_fwsm.log.11 (rotatecount 14, logstart 1, i 10),
renaming /var/log/cisco_fwsm.log.9 to /var/log/cisco_fwsm.log.10 (rotatecount 14, logstart 1, i 9),
renaming /var/log/cisco_fwsm.log.8 to /var/log/cisco_fwsm.log.9 (rotatecount 14, logstart 1, i 8),
renaming /var/log/cisco_fwsm.log.7 to /var/log/cisco_fwsm.log.8 (rotatecount 14, logstart 1, i 7),
renaming /var/log/cisco_fwsm.log.6 to /var/log/cisco_fwsm.log.7 (rotatecount 14, logstart 1, i 6),
renaming /var/log/cisco_fwsm.log.5 to /var/log/cisco_fwsm.log.6 (rotatecount 14, logstart 1, i 5),
renaming /var/log/cisco_fwsm.log.4 to /var/log/cisco_fwsm.log.5 (rotatecount 14, logstart 1, i 4),
renaming /var/log/cisco_fwsm.log.3 to /var/log/cisco_fwsm.log.4 (rotatecount 14, logstart 1, i 3),
renaming /var/log/cisco_fwsm.log.2 to /var/log/cisco_fwsm.log.3 (rotatecount 14, logstart 1, i 2),
renaming /var/log/cisco_fwsm.log.1 to /var/log/cisco_fwsm.log.2 (rotatecount 14, logstart 1, i 1),
renaming /var/log/cisco_fwsm.log.0 to /var/log/cisco_fwsm.log.1 (rotatecount 14, logstart 1, i 0),
renaming /var/log/cisco_fwsm.log to /var/log/cisco_fwsm.log.1
running postrotate script
running script with arg /var/log/cisco_fwsm.log: "
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
"
removing old log /var/log/cisco_fwsm.log.15
What could be wrong?
Thanks!
Zhenning