no logging with syslogd under FreeBSD

From: Rory <rory.amos#gmail.com>
Date: Wed, 22 Oct 2008 15:51:16 +0800


hi , i am tring to get logging with syslogd on a FreeBSD test machine to work. This is my minimal sample config with haproxy-1.2.18:

cat /usr/local/etc/haproxy.conf

global

        log 127.0.0.1 local0 debug
        maxconn         32768
        user            nobody
        group           nobody
        daemon
        nbproc          8

listen web-balancer
        log global
        bind            192.168.15.81:80
        mode            http
        stats uri /haproxy-stats
        stats realm Haproxy\ statistics
        stats auth another:another

        balance         roundrobin
        maxconn         32768
        clitimeout      60000
        srvtimeout      60000
        contimeout      5000
        retries         3

        server          web1 192.168.15.88:80 weight 3 check
        option          forwardfor

syslogd is listening on the local machine: *# sockstat -4 | grep syslogd*

root     syslogd    1586  7  udp4   *:514                 *:*

syslog facility is going to /var/log/haproxy

# grep local0 /etc/syslog.conf

local0.*                                        /var/log/haproxy.log

But haproxy won't log anything. Any ideas?

Rory. Received on 2008/10/22 09:51

This archive was generated by hypermail 2.2.0 : 2008/10/22 10:00 CEST