3
Upstream recommends using syslog over UDP to log from HAProxy processes, as
4
this allows seamless logging from chroot'ed processes without access to
5
/dev/log. However, many syslog implementations do not enable UDP syslog by
8
The default HAProxy configuration in Debian uses /dev/log for logging and
9
ships an rsyslog snippet that creates /dev/log in HAProxy's chroot and logs all
10
HAProxy messages to /var/log/haproxy.log. To take advantage of this, you must
11
restart rsyslog after installing this package. For other syslog daemons you
12
will have to take manual measures to enable UDP logging or create /dev/log
13
under HAProxy's chroot:
14
a. For sysklogd, add SYSLOG="-a /var/lib/haproxy/dev/log" to
16
b. For inetutils-syslogd, add SYSLOGD_OPTS="-a /var/lib/haproxy/dev/log" to
17
/etc/default/inetutils-syslogd.