On Fri, Jun 20, 2014 at 03:30:29PM +0800, Jie Jin wrote:
> In order to get output from stats socket, What parameter do I need to put
> in haproxy.cfg ?
>
> I tried show errors, but nothing returned.
>
> [www@front tmp]$ echo "show errors" | sudo socat stdio /tmp/haproxysock
> Total events captured on [20/Jun/2014:15:24:13.979] : 0
Then there's no bad capture, so what you're facing are just empty connections,
most likely these are short-timed pre-connects. Thus it means you're not
causing any trouble but are just logging empty connections. Simply add :
option dontlognull
and these annoying empty connections will not be reported anymore.
Regards,
Willy