When running logrotate manually with this command
logrotate -f /etc/logrotate.conf
we can observe this error
error: 20-fuel-docker.conf:3 duplicate log entry for /var/log/kern.log
To avoid this:
add to /etc/logrotate.conf before(this is important) 'include /etc/logrotate.d' directive this line:
tabooext + .ignoredaily
After that
mv /etc/logrotate.d/20-fuel-docker.conf /etc/logrotate.d/20-fuel-docker.conf.ignoredaily
Now logrotate will ignore file with hourly log rotation options /etc/logrotate.d/20-fuel-docker.conf.ignoredaily, and we get rid of "duplicate log entry" message.
I think this modification should be added both to fuel master node and to rsyslog container.
When running logrotate manually with this command docker. conf:3 duplicate log entry for /var/log/kern.log
logrotate -f /etc/logrotate.conf
we can observe this error
error: 20-fuel-
To avoid this:
add to /etc/logrotate.conf before(this is important) 'include /etc/logrotate.d' directive this line:
tabooext + .ignoredaily
After that d/20-fuel- docker. conf /etc/logrotate. d/20-fuel- docker. conf.ignoredail y
mv /etc/logrotate.
Now logrotate will ignore file with hourly log rotation options /etc/logrotate. d/20-fuel- docker. conf.ignoredail y, and we get rid of "duplicate log entry" message.
I think this modification should be added both to fuel master node and to rsyslog container.