HAProxy community

TCP Mode capture packets from backend and print in proxy logs


I have 2 docker containers running message daemon using 0mq libraries. The 2 daemons are for HA such that any moment of time only one will be master. The master keeps publishing messages saying i am master.

I want to capture tcp packet data and print in haproxy logs that is received from backend servers. How can i do that?