Hello,

My team and I have been attempting to get logging working for HAProxy for a
few weeks now.  We initially had our Datacenter support team attempt to set
up the logging but they could not successfully.  I attempted to set up the
logging myself and again produced no success.

Our setup is straight forward.

CentOS5
HAProxy Version 1.4.22

In our haproxy.conf

log 127.0.0.1 local0 info // we've also tried notice and other logging
levels.

In rsyslog.conf:

Uncommented

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
$UDPServerAddress 127.0.0.1

local0.* /var/log/haproxy/haproxy.log
& ~

Restarted haproxy and rsyslog with no success.

If there is any more info I can provide I will.

Reply via email to