TECH : Enable haproxy log
- at the top of
/etc/haproxy/haproxy.cfg
-
global log 127.0.0.1 local2
- in file /etc/rsyslog.conf
-
# Provides UDP syslog reception $ModLoad imudp $UDPServerRun 514 $UDPServerAddress 127.0.0.1
- in file /etc/rsyslog.d/haproxy.conf
-
local2.* /var/log/haproxy.log
- restart services
service rsyslog restart service haproxy restart
Enjoy!