On Wed, Feb 17, 2010 at 11:02 PM, Nelson Serafica <[email protected]> wrote: > I need to enable syslog of haproxy. I search in Google but can't find the > right one. I'm using Fedora 8 so syslog was rsyslog. I edit > /etc/rsyslog.conf and put the ff: > > local0.* /var/log/haproxy.log > local1.* /var/log/haproxy-1.log > > Then I edit /etc/sysconfig/rsyslog and put "SYSLOGD_OPTIONS="-m 0 -r". After > that I restart rsyslog service. I see the file haproxy.log and haproxy-1.log > but when I restart the haproxy, nothing comes up in the log file. I even > browse the site but still no input on the log file. Am I missing something? > Most of the suggestion was on the above but its not working on mine. > > Does anyone also experience the same problem and found a solution? >
I had trouble identifying this on debian lenny, we need rsyslog to listen on the 514 UDP port in my case I needed to uncomment the following lines on the rsyslog.conf file: #$ModLoad imudp #$UDPServerRun 514 That's because the parameter that enables the UDP listening is now deprecated. Hope this helps. Regards, -- Germán Gutiérrez OLX Operation Center OLX Inc. Buenos Aires - Argentina Delivering common sense since 1969 <Epoch Fail!>. The Nature is not amiable; It treats impartially to all the things. The wise person is not amiable; He treats all people impartially. No afecta al sitio, no necesita QA.

