diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-29 16:49:43 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-07-01 21:01:16 +0200 |
| commit | ab149e4d09925013a6b440af583addf58e6602d4 (patch) | |
| tree | 8ffccf193f345c6f9311711b788c63f152f75c8c | |
| parent | 1403abb248c63fd1e7a9dc01ca447f86c8173664 (diff) | |
| download | vyos-1x-ab149e4d09925013a6b440af583addf58e6602d4.tar.gz vyos-1x-ab149e4d09925013a6b440af583addf58e6602d4.zip | |
op-mode: T9009: add "show log priority <level>" command
| -rwxr-xr-x | op-mode-definitions/show-log.xml.in | 11 |
1 files changed, 10 insertions, 1 deletions
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> |
