Re: Selective logging

From: Jean-Baptiste Quenot <jbq#caraldi.com>
Date: Thu, 9 Jul 2009 13:50:36 +0200


2009/7/7 Alex Forrow <alex#fav.or.it>:
>
> We have been using HAProxy very successfully on a busy website for a while
> now, sending all logs via syslog to a separate server.
>
> A single frontend is used to serve all public requests, and currently logs
> everything. We would like to just log requests for dynamic pages, is it
> possible to have HAProxy selectively log requests, either based on an acl,
> or ideally, backend?

Hi Alex,

I'm using syslog-ng to achieve this. The local syslog daemon only forwards logs to the central syslog server when certain criteria are matched. Using syslog-ng usually offers very flexible means to meet your logging requirements.

-- 
Jean-Baptiste Quenot
http://jbq.caraldi.com/
Received on 2009/07/09 13:50

This archive was generated by hypermail 2.2.0 : 2009/07/09 14:00 CEST