Browse code

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

Sean Dague authored on 2017/05/05 04:56:37
Showing 1 changed files
... ...
@@ -748,6 +748,10 @@ source $TOP_DIR/tools/fixup_stuff.sh
748 748
 
749 749
 if [[ "$USE_SYSTEMD" == "True" ]]; then
750 750
     pip_install_gr systemd-python
751
+    # the default rate limit of 1000 messages / 30 seconds is not
752
+    # sufficient given how verbose our logging is.
753
+    iniset -sudo /etc/systemd/journald.conf "Journal" "RateLimitBurst" "0"
754
+    sudo systemctl restart systemd-journald
751 755
 fi
752 756
 
753 757
 # Virtual Environment