rotating pattern:/var/lib/mysql/*.log after 1 days (10 rotations)
empty log files are not rotated, only log files >= 10485760 bytes are rotated, log files >= 104857600 are rotated earlier, old logs are removed
considering log /var/lib/mysql/GRA_10_1658_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_1_6923_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_2_233947_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld-error.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valuenot running postrotate script, since no logs were rotated
executing: logrotate -v -s /opt/percona/logrotate/logrotate.status /opt/percona/logrotate/logrotate-mysql.conf
reading config file /opt/percona/logrotate/logrotate-mysql.conf
Allocating hash table for state file, size 15360 BHandling 1 logsrotating pattern: /var/lib/mysql/*.log after 1 days (10 rotations)
empty log files are not rotated, only log files >= 10485760 bytes are rotated, log files >= 104857600 are rotated earlier, old logs are removed
considering log /var/lib/mysql/GRA_10_1658_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_1_6923_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_2_233947_v2.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld-error.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.full.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.log
log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valuenot running postrotate script, since no logs were rotated
executing: logrotate -v -s /opt/percona/logrotate/logrotate.status /opt/percona/logrotate/logrotate-mysql.conf
reading config file /opt/percona/logrotate/logrotate-mysql.conf
Allocating hash table for state file, size 15360 B
$ grep 'rotating pattern' logs.txt -c
939
I have discussed this issue with Iwo and we decided to remove '--verbose' flag.
Slava Sarzhan August 30, 2021 at 10:01 AM
Hi @Iwo Panowicz,
These are logs from logrotate container and I can't find them in 'logs' container. So, it should not have any influence on the debug process. But if it is confusing you we can remove '--verbose' flag from 'logrotate' command but in this case it will be harder to troubleshoot logrotation issues.
Sveta Smirnova July 12, 2021 at 1:21 PM
Suggested fix: print logrotate messages into different stream, so they do not mess up with other logs that are more critical for troubleshooting.
rotating pattern: /var/lib/mysql/*.log after 1 days (10 rotations) empty log files are not rotated, only log files >= 10485760 bytes are rotated, log files >= 104857600 are rotated earlier, old logs are removed considering log /var/lib/mysql/GRA_10_1658_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_1_6923_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_2_233947_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld-error.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valuenot running postrotate script, since no logs were rotated executing: logrotate -v -s /opt/percona/logrotate/logrotate.status /opt/percona/logrotate/logrotate-mysql.conf reading config file /opt/percona/logrotate/logrotate-mysql.conf Allocating hash table for state file, size 15360 BHandling 1 logsrotating pattern: /var/lib/mysql/*.log after 1 days (10 rotations) empty log files are not rotated, only log files >= 10485760 bytes are rotated, log files >= 104857600 are rotated earlier, old logs are removed considering log /var/lib/mysql/GRA_10_1658_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_1_6923_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/GRA_2_233947_v2.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.backup.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.move.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/innobackup.prepare.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld-error.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.full.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valueconsidering log /var/lib/mysql/mysqld.post.processing.log log does not need rotating ('misinze' directive is used and the log size is smaller than the minsize valuenot running postrotate script, since no logs were rotated executing: logrotate -v -s /opt/percona/logrotate/logrotate.status /opt/percona/logrotate/logrotate-mysql.conf reading config file /opt/percona/logrotate/logrotate-mysql.conf Allocating hash table for state file, size 15360 B $ grep 'rotating pattern' logs.txt -c 939