How do i log the tcp request payload in HAproxy

When i try to log tcp request payload for a database connection using log-format %[capture.req.hdr(0)] it logs junk / unreadable characters. I need to see the payload to write acl accordingly. I also tried encoding it into hex and later decode but it’s still junk. What is the right way to do so?