From 55ee0113ea8c1428ffa494ce7e009a00de177b73 Mon Sep 17 00:00:00 2001 From: Scott Shumate Date: Fri, 15 Jul 2016 13:40:23 -0500 Subject: [PATCH] Added support for systemd logging by configuring LOGFILE=systemd --- Shorewall-core/lib.cli | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 06de85bcd..201714046 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -191,6 +191,8 @@ setup_logread() { else g_logread="logread" fi + elif [ "$LOGFILE" == "systemd" ]; then + g_logread="journalctl -r" elif [ -r $LOGFILE ]; then if qt mywhich tac; then g_logread="tac $LOGFILE"