I configured haproxy with option log-separate-errors
to be able to log errorneous requests in a separate logfile. However, using that option, all requests are then being sent to the logfile, even though I am filtering for syslog level error
.
I already double checked that my filtering works, using a custom log format which shows %pri-text%
- the messages are indeed sent as syslog level error
.
The haproxy instance itself runs fine in production, I dont see any problems at all, the requests are 2xx or 3xx. Any hints how to proceed here with debugging, or what I might be doing wrong?
I am using haproxy 1.4.18.