diff options
| -rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 9 | ||||
| -rwxr-xr-x | op-mode-definitions/show-log.xml.in | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 7bf4fc907..bd7a98f7d 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -120,6 +120,15 @@ </properties> <command>SYSTEMD_COLORS=false journalctl --no-hostname --follow --boot -p $4</command> </tagNode> + <tagNode name="facility"> + <properties> + <help>Monitor last lines of messages file and filter by specified facility</help> + <completionHelp> + <list>kern user mail daemon auth syslog lpr news uucp cron authpriv ftp local0 local1 local2 local3 local4 local5 local6 local7</list> + </completionHelp> + </properties> + <command>SYSTEMD_COLORS=false journalctl --no-hostname --follow --boot --facility=$4</command> + </tagNode> <leafNode name="flow-accounting"> <properties> <help>Monitor last lines of flow-accounting log</help> diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 1031e83cb..22c60706d 100755 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -171,6 +171,15 @@ </node> </children> </node> + <tagNode name="facility"> + <properties> + <help>Show contents of logging buffer and filter messages by specified facility</help> + <completionHelp> + <list>kern user mail daemon auth syslog lpr news uucp cron authpriv ftp local0 local1 local2 local3 local4 local5 local6 local7</list> + </completionHelp> + </properties> + <command>SYSTEMD_COLORS=false journalctl --no-hostname --boot --facility=$4</command> + </tagNode> <node name="firewall"> <properties> <help>Show log for Firewall</help> |
