summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op-mode-definitions/monitor-log.xml.in18
-rwxr-xr-xop-mode-definitions/show-log.xml.in11
2 files changed, 19 insertions, 10 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in
index bd7a98f7d..ae536a2b9 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -111,15 +111,6 @@
</node>
</children>
</node>
- <tagNode name="level">
- <properties>
- <help>Monitor log and filter messages by minimum priority level (includes all higher severities)</help>
- <completionHelp>
- <list>emerg alert crit err warning notice info debug</list>
- </completionHelp>
- </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>
@@ -217,6 +208,15 @@
</properties>
<command>journalctl --no-hostname --boot --follow --unit accel-ppp@pppoe.service</command>
</leafNode>
+ <tagNode name="priority">
+ <properties>
+ <help>Monitor last lines of messages file and filter by minimum priority level (includes all higher severities)</help>
+ <completionHelp>
+ <list>emerg alert crit err warning notice info debug</list>
+ </completionHelp>
+ </properties>
+ <command>SYSTEMD_COLORS=false journalctl --no-hostname --follow --boot --priority=$4</command>
+ </tagNode>
<node name="protocol">
<properties>
<help>Monitor routing protocol logs</help>
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 22c60706d..f551e270f 100755
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -7,7 +7,7 @@
<children>
<node name="log">
<properties>
- <help>Show contents of current master logging buffer</help>
+ <help>Show contents of logging buffer</help>
</properties>
<command>journalctl --no-hostname --boot</command>
<children>
@@ -771,6 +771,15 @@
</properties>
<command>journalctl --no-hostname --boot --unit accel-ppp@pppoe.service</command>
</leafNode>
+ <tagNode name="priority">
+ <properties>
+ <help>Show contents of logging buffer and filter messages by minimum priority level (includes all higher severities)</help>
+ <completionHelp>
+ <list>emerg alert crit err warning notice info debug</list>
+ </completionHelp>
+ </properties>
+ <command>SYSTEMD_COLORS=false journalctl --no-hostname --boot --priority=$4</command>
+ </tagNode>
<node name="protocol">
<properties>
<help>Show log for Routing Protocol</help>