On 2020-10-20 11:56, Veiko Kukk wrote:
I've upgraded some servers from 1.9.15 to 2.0.18. Log config is very
simple.
...
Without any changes to rsyslog configuration/filters, health checks
are now filtered to /var/log/messages and not into specified haproxy
log files as was before.
Answering to my own question.
Indeed, in HAproxy 2.0, 'option log-health-checks' messages are emitted
usig syslog facility 'daemon' and not the facility configured with
global configuration keyword 'log'.
In 1.9, health check logs were emitted as defined by 'log' facility
value.
If this is intended, I suggest adding this information to documentation
for 'option log-health-checks'.
http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#option%20log-health-checks
Veiko