Living in a AI World….

How to enable Logging in HAProxy

in

Last reviewed: July 5, 2026. Applies to: HAProxy logging to stdout and syslog-style targets. Currentness note: Commands and screenshots are retained for the documented environment. Before production use, verify package names, image tags, cloud-provider UI labels, and plugin versions against your current platform.

global
    log stdout  format raw  local0  info

This makes the HAProxy logs visible on the console if it is running in a docker container, to access it read the logs outside of a docker container run the following command:

tail -f /var/log/messages

Do you have any question, suggestion, or a correction? Do let me know at [email protected]



Follow

Instagram / LinkedIn