Re: Health check logging differences between 1.9 and 2.0

2020-11-03 Thread Christopher Faulet
Le 28/10/2020 à 14:20, Veiko Kukk a écrit : On 2020-10-28 13:11, Veiko Kukk wrote: Another difference between 1.9 and 2.0 here is that 2.0 is compiled with systemd support and executed using -Ws and Type=notify instead of 1.9 -W and Type=forking. With the exactlty same HAproxy 2.0 (compiled wi

Re: Health check logging differences between 1.9 and 2.0

2020-10-29 Thread Veiko Kukk
On 2020-10-24 10:32, Willy Tarreau wrote: That sounds strange, I don't like this. This sounds like an uninitialized variable. Did you observe that the facility used is stable inside a backend for example, or does it seem to be affected by other activity ? After investigation, it appears that i

Re: Health check logging differences between 1.9 and 2.0

2020-10-28 Thread Veiko Kukk
On 2020-10-28 13:11, Veiko Kukk wrote: Another difference between 1.9 and 2.0 here is that 2.0 is compiled with systemd support and executed using -Ws and Type=notify instead of 1.9 -W and Type=forking. With the exactlty same HAproxy 2.0 (compiled with systemd support), I've changed haproxy.se

Re: Health check logging differences between 1.9 and 2.0

2020-10-28 Thread Veiko Kukk
On 2020-10-26 13:57, Christopher Faulet wrote: health-check log messages are emitted in the same way in 1.9 and 2.0. And at first glance, the code responsible to set the syslog priority is the same too. So there is probably something we missed. Could you confirm you still have the same issue with

Re: Health check logging differences between 1.9 and 2.0

2020-10-26 Thread Christopher Faulet
Le 23/10/2020 à 14:15, Veiko Kukk a écrit : On 2020-10-22 10:38, Veiko Kukk wrote: 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

Re: Health check logging differences between 1.9 and 2.0

2020-10-24 Thread Willy Tarreau
Hi Veiko, On Fri, Oct 23, 2020 at 12:15:03PM +, Veiko Kukk wrote: > On 2020-10-22 10:38, Veiko Kukk wrote: > > 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'.

Re: Health check logging differences between 1.9 and 2.0

2020-10-23 Thread Veiko Kukk
On 2020-10-22 10:38, Veiko Kukk wrote: 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. I was

Re: Health check logging differences between 1.9 and 2.0

2020-10-22 Thread Veiko Kukk
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 t

Health check logging differences between 1.9 and 2.0

2020-10-20 Thread Veiko Kukk
Hi I've upgraded some servers from 1.9.15 to 2.0.18. Log config is very simple. global log /dev/log local0 defaults log global option httplog option log-health-checks Without any changes to rsyslog configuration/filters, health checks are now filtered to /var/log/messages and not into speci