system-config/modules/openstack_project/files/git/rsyslog.haproxy.conf
Clark Boylan c826d6f8b0 Don't write haproxy logs to /var/log/messages
haproxy logs are plentiful and pollute /var/log/messages. We are already
writing these logs to /var/log/haproxy.log so prevent writing to
messages as well with an & stop directive after writing to
/var/log/haproxy.log.

Change-Id: I6a388f347c0189425a12f7f0df8593ca757e9090
2015-11-23 13:50:02 -08:00

10 lines
230 B
Plaintext

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# Save haproxy messages to haproxy.log
local0.* /var/log/haproxy.log
# Don't process these messages further to prevent
# them being written more than once.
& stop