From c826d6f8b0737ebe1c5df5234e077b956456f58f Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 23 Nov 2015 13:50:02 -0800 Subject: [PATCH] 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 --- modules/openstack_project/files/git/rsyslog.haproxy.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/files/git/rsyslog.haproxy.conf b/modules/openstack_project/files/git/rsyslog.haproxy.conf index 892296ff1f..6ba5199b08 100644 --- a/modules/openstack_project/files/git/rsyslog.haproxy.conf +++ b/modules/openstack_project/files/git/rsyslog.haproxy.conf @@ -4,3 +4,6 @@ $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