haproxy.cfg logs to localhost:514/UDP, rsyslog not configured to listen on 514/UDP since before Ubuntu 12.04

Bug #1668601 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
Medium
Jorge Niedbalski

Bug Description

haproxy is set up to log to localhost:514/UDP. rsyslog is not set up to listen, and has not been since before Ubuntu 12.04. Subsequently we are not logging haproxy events.

haproxy package for trusty and newer installs rsyslog configuration that enables /dev/log node in /var/lib/haproxy chroot.

haproxy package for precise does not run haproxy in chroot so we can use system /dev/log directly.

I suggest using /dev/log instead of localhost in haproxy configuration to enable logging of haproxy events.

Related branches

Revision history for this message
Frode Nordahl (fnordahl) wrote :

Ubuntu 12.04 does not run haproxy in chroot, thus it can also make use of /dev/log out of the box.

Frode Nordahl (fnordahl)
description: updated
Changed in charm-helpers:
assignee: nobody → Frode Nordahl (fnordahl)
importance: Undecided → Medium
status: New → In Progress
Frode Nordahl (fnordahl)
Changed in charm-helpers:
assignee: Frode Nordahl (fnordahl) → nobody
assignee: nobody → Jorge Niedbalski (niedbalski)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.