how to enable syslogging

From: Nelson Serafica <ntserafica#gmail.com>
Date: Thu, 18 Feb 2010 10:02:26 +0800


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? Received on 2010/02/18 03:02

This archive was generated by hypermail 2.2.0 : 2010/02/18 03:15 CET