Why the HAProxy don't is logging the connections

How I do to HAProxy starts to logging msg in syslog or another file?
I would like to know the origins of the connections and how this data traffic is being handled :head_bandage:
I’m using HAprxy 1.5.4 on a CentOS 6.8

My haproxy.cfg like it:
log local2

mode http
log global
option httplog

frontend main
bind *:13095 ssl crt /etc/ssl/certs/private/
option httplog
log global
reqadd X-Forwarded-Proto:\ https
default_backend main

Thanks all for your reply.

Do you have a running syslog server on

No, how do I do that?

That’s not really haproxy related, consult your OS documentation or research the topic elsewhere.

This looks like it could be interesting for your, but please understand that we are unable to give OS support here:

add three lines in defaults section in haproxy:
option httplog
option log-health-checks
log /dev/log local6
that would generate the syslog in /var/log/meesages…kindly serach it with time in this file systems.
you may also redirect this log to syslog server [both would be same log]. But syslog has very limited number of log would be generated like health check and socket connectivity. If you need to generate log at high level you would need to enable debug log in haproxy and need to compile the source code and run in same folder as : # ./haproxy -f /etc/haproxy/haproxy.cfg -d [-d is for debug msg to be printed on local]. you may redirect log in file as well. for high level log, you may enable trace log too…I think for connection level debug log is sufficient.