how to enable TCP/IP logging in HAproxy

From: Sanjeev Kumar <replyskumar#gmail.com>
Date: Mon, 25 May 2009 12:22:25 +0530


I need to debug why Http-healthCheck respoanse is received by proxy-machine, but HAproxy says no.
Event log just displays single message: "server down".

How to enable detailed TCP logging in HAproxy?

My config file (below) doean't show me Tcp-events.

##
global
  log 127.0.0.1 local0
  maxconn 100
  user root
  group root
  debug

defaults
  log global
  timeout connect 10s

listen vproxy *:9123

   mode tcp
  option tcplog
  option httpchk HEAD /check.tst HTPP/1.0   server servA 192.168.2:9123 check Received on 2009/05/25 08:52

This archive was generated by hypermail 2.2.0 : 2009/05/25 09:00 CEST