I noticed a suspicious behaviour of my auth.log. For some reason it is getting rotated multiple times everytime it should rotate.
2014-06-15 06:25:06,102 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2014-06-15 06:25:06,102 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2014-06-15 06:25:20,117 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2014-06-15 06:25:20,117 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
/etc/logrotate.d/syslog-ng
/var/log/auth.log
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
invoke-rc.d syslog-ng reload > /dev/null
endscript
}
I checked old logs and found out this started a few months ago.
What is going wrong there?