diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 201714046..5015936b4 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -191,7 +191,7 @@ setup_logread() { else g_logread="logread" fi - elif [ "$LOGFILE" == "systemd" ]; then + elif [ "$LOGFILE" = "systemd" ]; then g_logread="journalctl -r" elif [ -r $LOGFILE ]; then if qt mywhich tac; then diff --git a/Shorewall/manpages/shorewall.conf.xml b/Shorewall/manpages/shorewall.conf.xml index 324f76729..d263b5787 100644 --- a/Shorewall/manpages/shorewall.conf.xml +++ b/Shorewall/manpages/shorewall.conf.xml @@ -1354,7 +1354,7 @@ net all DROP infothen the chain name is 'net-all' LOGFILE=[pathname] + role="bold">LOGFILE=[pathname|] This parameter tells the /sbin/shorewall program where to look @@ -1364,7 +1364,10 @@ net all DROP infothen the chain name is 'net-all' log, and hits commands. If not assigned or if assigned an empty value, /var/log/messages is assumed. For further information, see http://www.shorewall.net/shorewall_logging.html. + url="/shorewall_logging.html">http://www.shorewall.net/shorewall_logging.html. + Beginning with Shorewall 5.0.10.1, you may specify + to use journelctl -r to + read the log. diff --git a/Shorewall6/manpages/shorewall6.conf.xml b/Shorewall6/manpages/shorewall6.conf.xml index 19306eb66..2d8afb7fe 100644 --- a/Shorewall6/manpages/shorewall6.conf.xml +++ b/Shorewall6/manpages/shorewall6.conf.xml @@ -1166,7 +1166,7 @@ net all DROP infothen the chain name is 'net-all' LOGFILE=[pathname] + role="bold">LOGFILE=[pathname|] This parameter tells the /sbin/shorewall6 program where to @@ -1175,7 +1175,9 @@ net all DROP infothen the chain name is 'net-all' role="bold">logwatch, show log, and hits commands. If not assigned or if assigned an empty value, /var/log/messages is - assumed. + assumed. Beginning with Shorewall 5.0.10.1, you may specify + to use journelctl -r to + read the log.