I started working on haproxy while i am having doubt on how to write the haproxy frontend and backend logs into a local log files to know what logs are being sent through haproxy.
Can someone help me how to do that? Thanks.
Below is my sample haproxy configuration.
log localhost local0
timeout connect 5s
timeout client 50s
timeout server 50s
#Accepts logs from TCP 1514 port
server :1514 check port 1514 send-proxy