Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $:/var/log# /usr/sbin/logrotate -d /etc/logrotate.conf
- reading config file /etc/logrotate.conf
- including /etc/logrotate.d
- reading config file apache2
- reading config info for /var/log/apache2/*.log
- reading config file apt
- reading config info for /var/log/apt/term.log
- reading config info for /var/log/apt/history.log
- reading config file aptitude
- reading config info for /var/log/aptitude
- reading config file clamav-daemon
- reading config info for /var/log/clamav/clamav.log
- reading config file clamav-freshclam
- reading config info for /var/log/clamav/freshclam.log
- reading config file dpkg
- reading config info for /var/log/dpkg.log
- reading config info for /var/log/alternatives.log
- reading config file exim4-base
- reading config info for /var/log/exim4/mainlog /var/log/exim4/rejectlog
- reading config file exim4-paniclog
- reading config info for /var/log/exim4/paniclog
- reading config file fail2ban
- reading config info for /var/log/fail2ban.log
- reading config file mysql-server
- reading config info for /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log
- reading config file razor
- reading config info for /var/log/razor-agent.log
- reading config file rkhunter
- reading config info for /var/log/rkhunter.log
- reading config file rsyslog
- reading config info for /var/log/syslog
- reading config info for /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
- reading config file shorewall
- reading config info for /var/log/shorewall-init.log
- reading config file ulogd
- reading config info for /var/log/ulog/*.log
- reading config file vsftpd
- reading config info for /var/log/vsftpd.log
- reading config info for /var/log/wtmp
- reading config info for /var/log/btmp
- Handling 21 logs
- rotating pattern: /var/log/apache2/*.log weekly (4 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/apache2/access.log
- log does not need rotating
- considering log /var/log/apache2/error.log
- log does not need rotating
- considering log /var/log/apache2/other_vhosts_access.log
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/apt/term.log monthly (12 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/apt/term.log
- log does not need rotating
- rotating pattern: /var/log/apt/history.log monthly (12 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/apt/history.log
- log does not need rotating
- rotating pattern: /var/log/aptitude monthly (6 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/aptitude
- log does not need rotating
- rotating pattern: /var/log/clamav/clamav.log weekly (12 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/clamav/clamav.log
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/clamav/freshclam.log weekly (12 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/clamav/freshclam.log
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/dpkg.log monthly (12 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/dpkg.log
- log does not need rotating
- rotating pattern: /var/log/alternatives.log monthly (12 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/alternatives.log
- log does not need rotating
- rotating pattern: /var/log/exim4/mainlog /var/log/exim4/rejectlog after 1 days (10 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/exim4/mainlog
- log does not need rotating
- considering log /var/log/exim4/rejectlog
- log /var/log/exim4/rejectlog does not exist -- skipping
- rotating pattern: /var/log/exim4/paniclog 10485760 bytes (10 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/exim4/paniclog
- log /var/log/exim4/paniclog does not exist -- skipping
- rotating pattern: /var/log/fail2ban.log weekly (4 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/fail2ban.log
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log after 1 days (7 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/mysql.log
- log needs rotating
- considering log /var/log/mysql/mysql.log
- log needs rotating
- considering log /var/log/mysql/mysql-slow.log
- log /var/log/mysql/mysql-slow.log does not exist -- skipping
- rotating log /var/log/mysql.log, log->rotateCount is 7
- dateext suffix '-20110817'
- glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
- renaming /var/log/mysql.log.7.gz to /var/log/mysql.log.8.gz (rotatecount 7, logstart 1, i 7),
- renaming /var/log/mysql.log.6.gz to /var/log/mysql.log.7.gz (rotatecount 7, logstart 1, i 6),
- renaming /var/log/mysql.log.5.gz to /var/log/mysql.log.6.gz (rotatecount 7, logstart 1, i 5),
- renaming /var/log/mysql.log.4.gz to /var/log/mysql.log.5.gz (rotatecount 7, logstart 1, i 4),
- renaming /var/log/mysql.log.3.gz to /var/log/mysql.log.4.gz (rotatecount 7, logstart 1, i 3),
- renaming /var/log/mysql.log.2.gz to /var/log/mysql.log.3.gz (rotatecount 7, logstart 1, i 2),
- renaming /var/log/mysql.log.1.gz to /var/log/mysql.log.2.gz (rotatecount 7, logstart 1, i 1),
- renaming /var/log/mysql.log.0.gz to /var/log/mysql.log.1.gz (rotatecount 7, logstart 1, i 0),
- rotating log /var/log/mysql/mysql.log, log->rotateCount is 7
- dateext suffix '-20110817'
- glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
- renaming /var/log/mysql/mysql.log.7.gz to /var/log/mysql/mysql.log.8.gz (rotatecount 7, logstart 1, i 7),
- renaming /var/log/mysql/mysql.log.6.gz to /var/log/mysql/mysql.log.7.gz (rotatecount 7, logstart 1, i 6),
- renaming /var/log/mysql/mysql.log.5.gz to /var/log/mysql/mysql.log.6.gz (rotatecount 7, logstart 1, i 5),
- renaming /var/log/mysql/mysql.log.4.gz to /var/log/mysql/mysql.log.5.gz (rotatecount 7, logstart 1, i 4),
- renaming /var/log/mysql/mysql.log.3.gz to /var/log/mysql/mysql.log.4.gz (rotatecount 7, logstart 1, i 3),
- renaming /var/log/mysql/mysql.log.2.gz to /var/log/mysql/mysql.log.3.gz (rotatecount 7, logstart 1, i 2),
- renaming /var/log/mysql/mysql.log.1.gz to /var/log/mysql/mysql.log.2.gz (rotatecount 7, logstart 1, i 1),
- renaming /var/log/mysql/mysql.log.0.gz to /var/log/mysql/mysql.log.1.gz (rotatecount 7, logstart 1, i 0),
- renaming /var/log/mysql.log to /var/log/mysql.log.1
- creating new /var/log/mysql.log mode = 0640 uid = 105 gid = 4
- renaming /var/log/mysql/mysql.log to /var/log/mysql/mysql.log.1
- creating new /var/log/mysql/mysql.log mode = 0640 uid = 105 gid = 4
- running postrotate script
- running script (multiple) with arg /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log : "
- test -x /usr/bin/mysqladmin || exit 0
- # If this fails, check debian.conf!
- MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
- if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
- # Really no mysqld or rather a missing debian-sys-maint user?
- # If this occurs and is not a error please report a bug.
- if ps cax | grep -q mysqld; then
- exit 1
- fi
- else
- $MYADMIN flush-logs
- fi
- "
- compressing log with: /bin/gzip
- removing old log /var/log/mysql.log.8.gz
- compressing log with: /bin/gzip
- removing old log /var/log/mysql/mysql.log.8.gz
- rotating pattern: /var/log/razor-agent.log weekly (3 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/razor-agent.log
- log /var/log/razor-agent.log does not exist -- skipping
- rotating pattern: /var/log/rkhunter.log weekly (4 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/rkhunter.log
- log does not need rotating
- rotating pattern: /var/log/syslog
- after 1 days (7 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/syslog
- log needs rotating
- rotating log /var/log/syslog, log->rotateCount is 7
- dateext suffix '-20110817'
- glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
- compressing log with: /bin/gzip
- renaming /var/log/syslog.7.gz to /var/log/syslog.8.gz (rotatecount 7, logstart 1, i 7),
- renaming /var/log/syslog.6.gz to /var/log/syslog.7.gz (rotatecount 7, logstart 1, i 6),
- renaming /var/log/syslog.5.gz to /var/log/syslog.6.gz (rotatecount 7, logstart 1, i 5),
- renaming /var/log/syslog.4.gz to /var/log/syslog.5.gz (rotatecount 7, logstart 1, i 4),
- renaming /var/log/syslog.3.gz to /var/log/syslog.4.gz (rotatecount 7, logstart 1, i 3),
- renaming /var/log/syslog.2.gz to /var/log/syslog.3.gz (rotatecount 7, logstart 1, i 2),
- renaming /var/log/syslog.1.gz to /var/log/syslog.2.gz (rotatecount 7, logstart 1, i 1),
- renaming /var/log/syslog.0.gz to /var/log/syslog.1.gz (rotatecount 7, logstart 1, i 0),
- renaming /var/log/syslog to /var/log/syslog.1
- creating new /var/log/syslog mode = 0640 uid = 0 gid = 4
- running postrotate script
- running script (multiple) with arg /var/log/syslog
- : "
- invoke-rc.d rsyslog reload > /dev/null
- "
- removing old log /var/log/syslog.8.gz
- rotating pattern: /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
- weekly (4 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/mail.info
- log does not need rotating
- considering log /var/log/mail.warn
- log does not need rotating
- considering log /var/log/mail.err
- log does not need rotating
- considering log /var/log/mail.log
- log does not need rotating
- considering log /var/log/daemon.log
- log does not need rotating
- considering log /var/log/kern.log
- log does not need rotating
- considering log /var/log/auth.log
- log does not need rotating
- considering log /var/log/user.log
- log does not need rotating
- considering log /var/log/lpr.log
- log does not need rotating
- considering log /var/log/cron.log
- log /var/log/cron.log does not exist -- skipping
- considering log /var/log/debug
- log does not need rotating
- considering log /var/log/messages
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/shorewall-init.log weekly (4 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/shorewall-init.log
- log does not need rotating
- rotating pattern: /var/log/ulog/*.log weekly (4 rotations)
- empty log files are rotated, old logs are removed
- considering log /var/log/ulog/syslogemu.log
- log does not need rotating
- considering log /var/log/ulog/ulogd.log
- log does not need rotating
- not running postrotate script, since no logs were rotated
- rotating pattern: /var/log/vsftpd.log
- weekly (4 rotations)
- empty log files are not rotated, old logs are removed
- considering log /var/log/vsftpd.log
- log does not need rotating
- rotating pattern: /var/log/wtmp monthly (1 rotations)
- empty log files 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement