[root@srv1 ~]# /usr/sbin/logrotate -d /etc/logrotate.conf 2>&1 | less
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file apache
reading config info for /var/log/httpd/access_log /var/log/httpd/agent_log /var/log/httpd/error_log /var/log/httpd/referer_log /var/log/httpd/suexec_log /var/log/suphp.log
reading config file directadmin
reading config info for /var/log/directadmin/error.log /var/log/directadmin/errortaskq.log /var/log/directadmin/security.log /var/log/directadmin/system.log /var/log/directadmin/login.log
reading config file exim
reading config info for /var/log/exim/mainlog /var/log/exim/processlog /var/log/exim/rejectlog /var/log/exim/paniclog
reading config file lfd
reading config info for /var/log/lfd.log
reading config file mysql
reading config info for /var/lib/mysql/mysqld.log
reading config file named
reading config info for /var/named/data/named.run
reading config file proftpd
reading config info for /var/log/proftpd/access.log /var/log/proftpd/auth.log /var/log/proftpd/xferlog.legacy
reading config file samba
reading config info for /var/log/samba/*
olddir is now /var/log/samba/old
reading config file syslog
reading config info for /var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
reading config file yum
reading config info for /var/log/yum.log
reading config info for /var/log/wtmp
reading config info for /var/log/btmp
Handling 12 logs
rotating pattern: /var/log/httpd/access_log /var/log/httpd/agent_log /var/log/httpd/error_log /var/log/httpd/referer_log /var/log/httpd/suexec_log /var/log/suphp.log weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/httpd/access_log
log does not need rotating
considering log /var/log/httpd/agent_log
log /var/log/httpd/agent_log does not exist -- skipping
considering log /var/log/httpd/error_log
log does not need rotating
considering log /var/log/httpd/referer_log
log /var/log/httpd/referer_log does not exist -- skipping
considering log /var/log/httpd/suexec_log
log /var/log/httpd/suexec_log does not exist -- skipping
considering log /var/log/suphp.log
log /var/log/suphp.log does not exist -- skipping
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/directadmin/error.log /var/log/directadmin/errortaskq.log /var/log/directadmin/security.log /var/log/directadmin/system.log /var/log/directadmin/login.log weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/directadmin/error.log
log does not need rotating
considering log /var/log/directadmin/errortaskq.log
log does not need rotating
considering log /var/log/directadmin/security.log
log does not need rotating
considering log /var/log/directadmin/system.log
log does not need rotating
considering log /var/log/directadmin/login.log
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/exim/mainlog /var/log/exim/processlog /var/log/exim/rejectlog /var/log/exim/paniclog weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/exim/mainlog
log does not need rotating
considering log /var/log/exim/processlog
error: stat of /var/log/exim/processlog failed: No such file or directory
considering log /var/log/exim/rejectlog
log does not need rotating
considering log /var/log/exim/paniclog
log does not need rotating
rotating pattern: /var/log/lfd.log weekly (1 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/lfd.log
log does not need rotating
rotating pattern: /var/lib/mysql/mysqld.log after 1 days (3 rotations)
empty log files are not rotated, old logs are removed
considering log /var/lib/mysql/mysqld.log
log /var/lib/mysql/mysqld.log does not exist -- skipping
not running postrotate script, since no logs were rotated
rotating pattern: /var/named/data/named.run weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/named/data/named.run
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/proftpd/access.log /var/log/proftpd/auth.log /var/log/proftpd/xferlog.legacy weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/proftpd/access.log
log does not need rotating
considering log /var/log/proftpd/auth.log
log does not need rotating
considering log /var/log/proftpd/xferlog.legacy
log does not need rotating
not running postrotate script, since no logs were rotated
not running postrotate script, since no logs were rotated
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/samba/* weekly (4 rotations)
olddir is /var/log/samba/old, empty log files are not rotated, old logs are removed
rotating pattern: /var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/cron
log does not need rotating
considering log /var/log/maillog
log does not need rotating
considering log /var/log/messages
log does not need rotating
considering log /var/log/secure
log does not need rotating
considering log /var/log/spooler
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/yum.log yearly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/yum.log
log does not need rotating
rotating pattern: /var/log/wtmp monthly (1 rotations)
empty log files are rotated, only log files >= 1048576 bytes are rotated, old logs are removed
considering log /var/log/wtmp
log does not need rotating
rotating pattern: /var/log/btmp monthly (1 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/btmp
log does not need rotating