[Bug 1524635] [NEW] haproxy syslog configuration causes double logging

2015-12-14 Thread Launchpad Bug Tracker
You have been subscribed to a public bug by Robie Basak (racb):

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.d/50-default.conf) and /var/log/haproxy.log (via
/etc/rsyslog.d/haproxy.conf).

Steps to fix:
1) mv /etc/rsyslog.d/haproxy.conf 49-haproxy.conf  # This could be any number 
less than 50, to have it read before the default.conf
2) Restart rsyslog.
3) Access the provided service

This will cause the entries to be written out to only
/var/log/haproxy.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.

** Affects: haproxy (Ubuntu)
 Importance: Medium
 Status: Confirmed


** Tags: canonical-bootstack
-- 
haproxy syslog configuration causes double logging
https://bugs.launchpad.net/bugs/1524635
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to the bug report.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1524635] [NEW] haproxy syslog configuration causes double logging

2015-12-09 Thread Brad Marshall
Public bug reported:

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.d/50-default.conf) and /var/log/haproxy.log (via
/etc/rsyslog.d/haproxy.conf).

Steps to fix:
1) mv /etc/rsyslog.d/haproxy.conf 49-haproxy.conf  # This could be any number 
less than 50, to have it read before the default.conf
2) Restart rsyslog.
3) Access the provided service

This will cause the entries to be written out to only
/var/log/haproxy.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.

** Affects: haproxy (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: canonical-bootstack

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to haproxy in Ubuntu.
https://bugs.launchpad.net/bugs/1524635

Title:
  haproxy syslog configuration causes double logging

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1524635/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs