Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Ubuntu 16.04 PPA logs not working (1 reply)

$
0
0
I have a pretty default Ubuntu 16.04 image on AWS set up with the
haproxy 1.7 ppa package. I'm not seeing a /var/log/haproxy log file.


haproxy config is:

log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy


and rsyslog is:

# Create an additional socket in haproxy's chroot in order to allow
logging via
# /dev/log to chroot'ed HAProxy processes
$AddUnixListenSocket /var/lib/haproxy/dev/log

# Send HAProxy messages to a dedicated logfile
if $programname startswith 'haproxy' then /var/log/haproxy.log
&~


Am I missing something obvious?

--
David Morton
mortonda@dgrmm.net

Viewing all articles
Browse latest Browse all 5112

Trending Articles