Rsyslog stops logging after logrotate

Are you seeing an empty /var/log/haproxy.traffic.log file after logrotate does it’s business? Perhaps it’s your postrotate script! Several tutorials on the web call “reload” in the logrotate postrotate script. For example the following is old and busted. On my CentOS systems I removed the error redirect and manually ran logrotate with logrotate -v –force /etc/logrotate.d/haproxy.… Continue reading Rsyslog stops logging after logrotate

Published
Categorized as Debugging