Remote logging

From: Daniel Gentleman <danielg#chegg.com>
Date: Wed, 07 Jan 2009 14:05:12 -0800


Hi HAProxy users.
I'm trying to get my instance of HAProxy to log everything to a remote syslog server. I can't even get ot to write to the LOCAL Syslog server. This is on FreeBSD 7.0-STABLE.

Some snippits:

/usr/local/etc/haproxy.conf

global

        log 127.0.0.1 local0 notice

..
defaults

        log     global
        mode    http
        option  httplog
    option  logasap
        option  dontlognull


/etc/syslog.conf
local0.* /var/log/haproxy.log

/etc/rc.conf

syslogd_enable="YES"
syslogd_flags="-C -a 127.0.0.1"

The file is in /var/log, size 0 bytes, and chmod'd to 600.

Thoughts?

---Daniel Received on 2009/01/07 23:05

This archive was generated by hypermail 2.2.0 : 2009/01/07 23:15 CET