summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-24 10:55:45 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-24 10:56:26 +0200
commit090dc7e67b31f3dd1977a260c3106a6b610659ae (patch)
treebf77364c77cf04bc59d250d915690eb6429a4fb9
parent4bb15534dc815b04a526300cbd4a24f40fdfa433 (diff)
downloadvyos-1x-090dc7e67b31f3dd1977a260c3106a6b610659ae.tar.gz
vyos-1x-090dc7e67b31f3dd1977a260c3106a6b610659ae.zip
op-mode: T4390: migrate "monitor log" to journalctl
-rw-r--r--op-mode-definitions/monitor-log.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in
index cbdf76fc3..5d60e69c9 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -6,13 +6,13 @@
<properties>
<help>Monitor last lines of messages file</help>
</properties>
- <command>tail --follow=name /var/log/messages</command>
+ <command>journalctl --no-hostname --follow --boot</command>
<children>
<node name="colored">
<properties>
<help>Output log in a colored fashion</help>
</properties>
- <command>grc tail --follow=name /var/log/messages</command>
+ <command>grc journalctl --no-hostname --follow --boot</command>
</node>
<node name="protocol">
<properties>