Re: Apache Compatible HAProxy Log Formatting?

From: Joel Krauska <jkrauska#gmail.com>
Date: Wed, 09 Mar 2011 01:10:12 -0800


On 3/9/11 1:03 AM, Graeme Donaldson wrote:
> 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.
>

Ah yes.

That's 95% though. I'll take it.

Combined would be a great addition.

Even better would be apache style custom format syntax.

--Joel Received on 2011/03/09 10:10

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