Re: logging & stats

From: Willy Tarreau <>
Date: Thu, 10 Jul 2008 02:01:22 +0200

On Wed, Jul 09, 2008 at 04:54:10PM -0700, Konstantin Svist wrote:
> Next question: is there a way to get response time in the log? Any way
> to otherwise customize the information that appears in the log?

The response time is already logged. Check the 5 numbers after the server name, those are respectively :

Take a look at doc/haproxy-en.txt near the end, there are examples.

You cannot customize logs very much however. You can just set basic format, extended tcp log format and http log format. In this last mode, you can capture some headers and that's all.

Willy Received on 2008/07/10 02:01

This archive was generated by hypermail 2.2.0 : 2008/07/10 02:15 CEST