Hi Jay

Thank you for reading our post.

You can add rsyslog with an Alpine/Linux-based image, then add haproxy logging from ryslog to /dev/stdout. This way, whenever rsyslog adds HAproxy logs, it will go to stdout.

You can perform this on your own, or by modifying your Docker file. Alternatively, you could also use an image from the open-source community and configure accordingly.

Here is a helpful link for your reference:

https://github.com/mminks/haproxy-docker-logging

Thanks :)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store