Re: logging & stats

From: Konstantin Svist <fry.kun#gmail.com>
Date: Wed, 09 Jul 2008 16:54:10 -0700


Willy Tarreau wrote:
> Hi,
>
> On Wed, Jul 09, 2008 at 03:25:11PM -0700, Konstantin Svist wrote:
>
>> Hi,
>>
>> I'm trying to get logging (I want a log entry for every http query) and
>> stats to work. Neither one works right now.
>>
>>
>> I've configured haproxy as follows:
>> ---------------------------------------------
>>
>>
>
> For the logs, I suspect that your syslog server is not setup to listen
> to the UDP port (514). With syslogd from sysklogd package, you need to
> pass it the "-r" option.
>
> For the stats, it is because you have disabled "option httpclose".
>
> Regards,
> Willy
>
>
>

Thanks Willy - those did the trick

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?

Thanks,
Konstantin Received on 2008/07/10 01:54

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