Hi Willy,
I would prefer trigger logging through an ACL, like
dolog if { hdr(Host) www.domain.com }
or
dolog unless { path_end .jpg .png }
:)
cheers
On Thu, Dec 6, 2012 at 1:55 AM, Willy Tarreau <[email protected]> wrote:
> SBD's mail made me think about what we'd want not to log, it's basically
> pollution. I *do* like to log pollution as long as it's low. But in his
> situation, it can become a nuisance.
>
> I was thinking that maybe we could have an option "dontlogcrap" or something
> like this, which would prevent haproxy from logging requests it does not
> completely parse.
>
> Do others think this could be useful or am I overlooking something ?
>
> Thanks,
> Willy
>
>