An administrator might want to configure logging of the HAProxy service to aid in monitoring and troubleshooting an environment.
The HAProxy logger allows for the use rsyslog internally on the Linux installation to log to a local file. You can also use the VMware Aria Operations for Log integration to send this log to a VMware Aria Operations for Log deployment by utilizing the new Operations for Logs Linux agent to greatly simplify the configuration and logging of Linux platforms. To configure basic applications logging using rsyslog locally on the server perform the following steps.