Every time the rspamd logs rotate, rspamd stops logging and the new log file at /var/log/rspamd/rspamd.log is empty. Rspamd is still running and working, it's just not logging. If I restart rspamd, it immediately starts logging normally to rspamd.log... until the next log rotate!
My /etc/logrotate.d/rspamd looks like:
Any ideas what could be causing this?
My /etc/logrotate.d/rspamd looks like:
/var/log/rspamd/*log {
missingok
notifempty
compress
sharedscripts
postrotate
[ ! -f /var/run/rspamd.pid ] || kill -USR1 `cat /var/run/rspamd.pid`
endscript
}
Any ideas what could be causing this?