Don't forget to tweak the debug level in /etc/haproxy/haproxy.cfg
,
and maybe set up a logrotate right away in /etc/logrotate.d/haproxy
:
/var/log/haproxy*.log
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
reload rsyslog >/dev/null 2>&1 || true
endscript
}