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
This commit is contained in:
Clark Boylan 2015-11-23 13:50:02 -08:00
parent 303a26d299
commit c826d6f8b0

View File

@ -4,3 +4,6 @@ $UDPServerRun 514
# Save haproxy messages to haproxy.log # Save haproxy messages to haproxy.log
local0.* /var/log/haproxy.log local0.* /var/log/haproxy.log
# Don't process these messages further to prevent
# them being written more than once.
& stop