@dyadaval wrote:
Hello,
Log to systemd’s /dev/log compatibility socket
#log /dev/null local0 warning alert
#log /dev/null local1 warning alert
#log /dev/null local1 notice alert
#log 127.0.0.1 local0 warning
log /dev/log local0 warningdefaults
timeout connect 10000ms
timeout client 60000ms
timeout server 60000ms
log globalfrontend fe_http2
mode tcp
option dontlognull
option dontlog-normal
#bind 0.0.0.0:8443 ssl ca-file /f0/base/haproxy/ca.pem crt /f0/base/haproxy/server.pem alpn h2,http/1.1 ciphers ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-
GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA25
6:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384
default backend be_grpcMy front end would have bind commented at first and later when system has a condition, the bind line would be uncommented. so the situation is only till I have favourable one, which is short time.
However, when i checked the source, I see that it is Warning()–>printfIs there a way, i can re-direct them to /dev/null??
I tried dontlognull, log /dev/null warning , but it didnt help.
Please suggest.
Thanks,
DY
Posts: 1
Participants: 1