Hi Willy,

I've dug the mailing list and found this, which would so come in handy for me 
right now. Any updates on this, are you still considering its implementation?

Your proposed solution "log disable if <acl>" would work just fine, or even "no 
log if <acl>".

Thanks,

Pedro.

On 9 Jul 2009, at 05:54, Willy Tarreau <w...@1wt.eu> wrote:

> Hi,
> 
> On Tue, Jul 07, 2009 at 05:41:40PM +0100, Alex Forrow wrote:
>> Hi,
>> 
>> 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?
> 
> No, unfortunately it's not possible right now, and since the logs are
> configured in the frontend, you cannot even use the backend to make
> a difference.
> 
> I think that the simplest solution would be to implement something
> like "log disable if <acl>" which would work both in the frontend and
> in the backend.
> 
> I understand your requirement and in my opinion it really makes sense
> to log only dynamic pages. I'm adding that on the TODO list.
> 
> Regards,
> Willy
> 
> 
> 

Reply via email to