HAProxy community

How to disable regular health check log under level "info"?

The haproxy version is 2.1.3, and it’s running in K8S environment.

I configured the log configuration below in the “default” section,

log stdout format raw daemon info

And configured the following log configuration in HTTP & TCP frontends respectively,
HTTP frontends:

option httplog
log global
option httpchk GET /
server-template p9400_ 10 _p9400._tcp.test-svc-headless.test.svc.cluster.local resolvers mydns check

TCP frontends:

option tcplog
log global
option tcp-check
server-template p9403_ 10 _p9403._tcp.test-svc-headless.test.svc.cluster.local resolvers mydns check
---

Basically the functionality is good. But I see lots of log entries below being outputted to the stdout every 6 seconds. There will be more than 200K such entries each day. Is it possible to disable the log entries below and keep using log level “info”?

10.244.2.1:51340 [23/Mar/2020:00:54:54.591] p9402/1: Connection closed during SSL handshake
10.244.2.1:51337 [23/Mar/2020:00:54:54.591] p9400/1: Connection closed during SSL handshake
10.244.2.1:51336 [23/Mar/2020:00:54:54.591] p9303/1: Connection closed during SSL handshake
10.244.2.1:51341 [23/Mar/2020:00:54:54.591] stats/1: Connection closed during SSL handshake
10.240.0.4:64601 [23/Mar/2020:00:54:54.704] p9400/1: Connection closed during SSL handshake
10.240.0.4:64602 [23/Mar/2020:00:54:54.704] p9303/1: Connection closed during SSL handshake
10.240.0.4:64604 [23/Mar/2020:00:54:54.704] p9402/1: Connection closed during SSL handshake
10.240.0.4:64603 [23/Mar/2020:00:54:54.704] stats/1: Connection closed during SSL handshake
10.240.0.6:55874 [23/Mar/2020:00:54:54.765] stats/1: Connection closed during SSL handshake
10.240.0.6:55870 [23/Mar/2020:00:54:54.765] p9303/1: Connection closed during SSL handshake
10.240.0.6:55872 [23/Mar/2020:00:54:54.765] p9400/1: Connection closed during SSL handshake
10.240.0.6:55871 [23/Mar/2020:00:54:54.765] p9402/1: Connection closed during SSL handshake
10.244.2.1:51339 [23/Mar/2020:00:54:54.591] p9403 server_p9403/p9403_1 1/0/9000 7 -- 26/6/5/1/0 0/0
10.244.2.1:51338 [23/Mar/2020:00:54:54.591] p9401 server_p9401/p9401_1 1/0/9000 0 -- 25/6/5/1/0 0/0
10.240.0.4:64605 [23/Mar/2020:00:54:54.704] p9401 server_p9401/p9401_2 1/0/9000 0 -- 24/5/4/1/0 0/0
10.240.0.4:64606 [23/Mar/2020:00:54:54.704] p9403 server_p9403/p9403_3 1/0/9000 7 -- 23/5/4/1/0 0/0
10.240.0.6:55875 [23/Mar/2020:00:54:54.765] p9401 server_p9401/p9401_1 1/0/9013 0 -- 22/4/3/0/0 0/0
10.240.0.6:55873 [23/Mar/2020:00:54:54.765] p9403 server_p9403/p9403_1 1/0/9013 7 -- 22/4/3/0/0 0/0

Another related question is that why the above log entries were outputted to stdout every 6 seconds instead of the default 2 seconds, because the default health check “inter” value is 2 seconds?

Thanks!