no logging with syslogd under FreeBSD

From: Matthias Kellermann <mkellermann#net-com.de>
Date: Thu, 10 Apr 2008 15:52:33 +0200


Hi all,

I'm trying to get logging with syslogd on a FreeBSD test machine to work. This is my minimal sample config with haproxy-1.2.17:

# cat /usr/local/etc/haproxy.conf

global

   daemon

   log 127.0.0.1 syslog debug

   user www
   group www

   listen http_proxy 192.168.0.200:80

     mode http
     clitimeout 150000
     srvtimeout 30000
     contimeout 2000
     option forwardfor
     balance roundrobin
     server node1 192.168.0.201:80 check weight 3
     server node2 192.168.0.202:80 check weight 3

syslogd is listening on the local machine:

# sockstat -4 | grep syslogd

root syslogd 17312 6 udp4 127.0.0.1:514 *:*

syslog facility is going to /var/log/messages

# grep syslog /etc/syslog.conf

*.notice;authpriv.none;syslog.*;kern.debug;lpr.info;mail.crit;news.err /var/log/messages

But haproxy won't log anything. Any ideas?

-Matthias Received on 2008/04/10 15:52

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