Hello,

I am observing some strange behaviour with haproxy and logging on Ubuntu
Oneiric.

haproxy is setup to log to /dev/log and logs successfully appear in
/var/log/syslog  (via rsyslog).

Well, some of them do.  Some just don't.

If I look on the servers we are proxying/load balancing I can see requests
in their logs but they aren't in the haproxy output in /var/log/syslog.

I've also noticed that if I do a wget then the entries appear, however from
a browser they don't appear.

I've also noticed that the entries in haproxy aren't always in the server
logs and the entries in the server logs often aren't in haproxy.

Any help is much appreciated.

We are using HA-Proxy version 1.4.15 2011/04/08

This is our configuration:

global
    daemon
    maxconn 256
    log /dev/log local0

defaults
    mode http
    timeout connect 5000ms
    timeout client 50000ms
    timeout server 50000ms
    option httplog

frontend http-in
    bind *:80
    default_backend servers
    log global

backend servers
      server one one:8080
      server two two:8080

Thanks
Peter

-- 
Peter Gillard-Moss
Developer | ThoughtWorks Studios | Technical Solutions
http://www.thoughtworks-studios.com

Reply via email to