haproxy syslog configuration causes double logging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The current rsyslogd configuration as provided by the rsyslogd package causes double logging to occur.
Steps to Reproduce:
1) Install haproxy via whatever normal means (apt-get etc)
2) Configure it to listen on at least one port, even just the stats port
3) Visit the URL configured
You'll see logs generated in both /var/log/syslog (via /etc/rsyslogd.
Steps to fix:
1) mv /etc/rsyslog.
2) Restart rsyslog.
3) Access the provided service
This will cause the entries to be written out to only /var/log/
The testing was done on a Ubuntu 14.04 server (trusty) with haproxy 1.4.24-2ubuntu0.3 installed:
$ lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
$ dpkg-query -W haproxy
haproxy 1.4.24-2ubuntu0.3
Please let me know if you have any further questions.
Changed in haproxy (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: bitesize |
Changed in haproxy (Ubuntu): | |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in haproxy (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in haproxy (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in haproxy (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in haproxy (Ubuntu Trusty): | |
status: | Triaged → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.