Thanks for that, as it turns out (hangs head in shame) the problem was with syslog. I had not configured HAProxy to usr the local0 socket properly. I should have had the entry !haproxy above the local0 entry instead of +127.0.0.1 this allowed the haproxy process to communicate with the log. Logging works fine now. I also added the entry +localhost to the top of /etc/syslog.conf but I don't really think that had much to do with it.
cheers
Wil

Angelo Höngens wrote:
I'm running almost the same config here (FreeBSD 7.2 instead of 7.0), and it's working fine here:


--from /etc/rc.conf:
apache22_enable="YES"
syslogd_flags="-a 127.0.0.1:*"

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


$ ps auxw | grep syslog
root     1505  0.0  0.0  5692  1204  ??  Ss   Fri05PM   0:01.72 /usr/sbin/syslogd -a 127.0.0.1:*

in my haproxy.conf is:
global
  log 127.0.0.1   local0 notice

  


--

Virtual Xpert
Consulting • Enterprise Architecture • Custom Software
Will Angus - Systems Analyst

Virtual Xpert Pty. Ltd.
Suite 207, 35 Buckingham St.
Surry Hills, NSW  2010
Australia

Ph:  +61 2 9007 1480
Fax:  +61 2 8905 9438
Mob:  +61 424 298 449
Email:  [email protected]
WWW:  www.virtualxpert.com.au
ABN:  21 118 797 354

Firefox 3

Reply via email to