Baptiste <bedis9@...> writes:

> You don't disable logging in a backend, since the frontend is
> responsible to generate the log line.
> 
> If you don't want to log static content, you can do something like this:
> 
> acl static ###put your acl rule here####
> http-request set-log-level silent if static
> 
> Baptiste

Thanks for your idea, Baptiste - I was trying those directives in the
backends sections. After I moved them to the frontend and set the log
level to silent - it worked.

However, I would like to log just the errors, thus after setting the log level
to err it seems that it is logging again all the requests, not just those
resulting in a  HTTP error from the backend response.

What am I doing wrong? Any ideas? Thanks so much for your help!




Reply via email to