From bec3c0e872cf2b9429fd11449fad3abdc3099cb6 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 16 Apr 2021 21:35:04 +0300 Subject: [PATCH] Fix haproxy logging Due to error during migration to journald [1], rsyslog config has remained intact, which caused logs from journald being copied to regular logfile, without proper logrotate. Now we're fixing this and dropping rsyslog config as well. This will affect only ppl that are upgrading their environments since Stein [1] https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/672039/4/tasks/haproxy_post_install.yml#b38 Change-Id: I01689bbb3f331b4d8d4afe9d096a4213072ad7c0 --- tasks/haproxy_post_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/haproxy_post_install.yml b/tasks/haproxy_post_install.yml index f7da0b5..7f74160 100644 --- a/tasks/haproxy_post_install.yml +++ b/tasks/haproxy_post_install.yml @@ -36,6 +36,7 @@ with_items: - /etc/rsyslog.d/49-haproxy.conf - /etc/logrotate.d/haproxy + - /etc/rsyslog.d/10-haproxy-local-logging.conf notify: Restart rsyslog tags: - haproxy-logging-config