My current 2.0.5 haproxy logs a lot of "useless" messages such as :

Sep 11 13:10:08 server haproxy[28163]: Connect from to (r1_front/TCP)

My configuration is something like (I removed lines not related to
logging) :

        log /dev/log    local0
        log /dev/log    local1 notice
        log     global
        option  dontlognull
        option dontlog-normal
frontend r1_front
        mode tcp
        option dontlog-normal
        option dontlognull
        default_backend r1_back
backend r1_back
        mode tcp

I don't want to remove all logs, however logging "normal" connections
information is not needed.
At the moment I was unable to disable those "Connect from" lines.

Any idea on what I'm doing wrong here ?

By the way, any pointers to articles on how to well manage logging with
haproxy are welcome. I always had a problem to correctly understand
logging in haproxy.

Thanks a lot for your help.

Best regards,

Reply via email to