I've trouble logging my haproxy on freebsd 7.2 HA-Proxy version 1.4.2
2010/03/17
I've found a previous thread and try to duplicate with the same config, with
slight different haproxy version and freebsd version
http://www.mail-archive.com/[email protected]/msg00382.html
##haproxy.conf##
global
log 127.0.0.1 local0 info
maxconn 100
daemon
defaults
log global
mode tcp
option logasap
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen webfarm 10.11.12.114:80
log global
balance roundrobin
mode tcp
option tcplog
server web01 10.11.12.191:80
##/etc/rc.conf##
syslogd_enable="YES"
syslogd_flags="-a 127.0.0.1/24:* -4 -b 127.0.0.1"
##/etc/syslog.conf ##
local0.* /var/log/haproxy_1.log
local1.* /var/log/haproxy_2.log
##haproxy# ps aux | grep syslogd##
root 552 0.0 1.2 3184 1256 ?? Ss 4:11AM 0:00.16
/usr/sbin/syslogd -a 127.0.0.1/24:* -4 -b 127.0.0.1
--
Thank you very much,
Joe