Re: Apache Compatible HAProxy Log Formatting?

From: Graeme Donaldson <graeme#donaldson.za.net>
Date: Wed, 9 Mar 2011 11:03:36 +0200


2011/3/9 Hervé COMMOWICK <hcommowick#exceliance.fr>:
> http://haproxy.1wt.eu/download/1.4/doc/configuration.txt
>
> option httplog [ clf ]
>  Enable logging of HTTP request, session state and timers
>  May be used in sections :   defaults | frontend | listen | backend
>                                 yes   |    yes   |   yes  |   yes
>  Arguments :
>    clf       if the "clf" argument is added, then the output format
>  will be the CLF format instead of HAProxy's default HTTP format. You
>  can use this when you need to feed HAProxy's logs through a specific
>  log analyser which only support the CLF format and which is not
>  extensible.
>

Be careful, HAproxy's CLF is Apache's "common log format", not the "combined log format" that Joel originally asked for. The latter also logs the User-Agent and Referer headers.

Regards,
Graeme. Received on 2011/03/09 10:03

This archive was generated by hypermail 2.2.0 : 2011/03/09 10:15 CET