Package: haproxy
Version: 1.5.8-3+deb8u2

The haproxy package adds rsyslogd configuration in /etc/rsyslog.d/ on
install, however the rsyslog service is not reloaded or restarted.
Subsequently any relevant log messages from haproxy will get lost until a
newly commissioned server is rebooted or rsyslog is restarted manually or
by other means.

Steps to reproduce:
1) Install haproxy
2) Observe that /etc/rsyslog.d/49-haproxy.conf is installed
3) Observe that /var/lib/haproxy/dev/log and /var/log/haproxy.log is NOT
created
4) Restart rsyslog service
5) Observe that /var/lib/haproxy/dev/log and /var/log/haproxy.log IS created
6) Restart haproxy service and observe that log now is filled with entries

I would suggest that the package triggers reload or restart of the rsyslog
service.

-- 
Frode Nordahl

Reply via email to