I'm trying to figure out why i'm getting BADREQs from time to time, by using "show errors" in socat. The problem is that it only shows the last error. I want to be able to see all of them ( like using tail -f ... | grep something).
can somebody tell me please how can I continuously show these BADREQs? with or without socat?
The real problem is that I'm getting BADREQs in haproxy log, but [echo "show errors" | socat unix-connect:/var/run/haproxy.sock stdio] does not catch them. Is it something with haproxy configuration?