From e264b4ab323385e8c861da79c96cf9d643ca395d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 4 May 2017 15:56:37 -0400 Subject: [PATCH] disable journald rate limiting systemd-journald has rate limiting built in, but that's not sufficient for the level of logging of OpenStack services during test runs. Disable the rate limiting so that no log messages are lost. Change-Id: I64599aba74c5a39276bb8f946cd236600b9cc81b --- stack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stack.sh b/stack.sh index 2c10200f75..9fdb47ecbd 100755 --- a/stack.sh +++ b/stack.sh @@ -748,6 +748,10 @@ source $TOP_DIR/tools/fixup_stuff.sh if [[ "$USE_SYSTEMD" == "True" ]]; then pip_install_gr systemd-python + # the default rate limit of 1000 messages / 30 seconds is not + # sufficient given how verbose our logging is. + iniset -sudo /etc/systemd/journald.conf "Journal" "RateLimitBurst" "0" + sudo systemctl restart systemd-journald fi # Virtual Environment