How to enable Logging in HAProxy

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
Softwares

About Dennis Otugo

Dennis Otugo is a Consultant at Bantrain, and loves all things DevOps. In his role, he enables enterprise customers in their digital transformation journey and helps architect cloud-native solutions

Previous Entries How to setup Prometheus Exporter for HAProxy Next Entries How to enable Profiling in HAProxy