diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-24 10:55:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-24 10:56:26 +0200 |
commit | 090dc7e67b31f3dd1977a260c3106a6b610659ae (patch) | |
tree | bf77364c77cf04bc59d250d915690eb6429a4fb9 /op-mode-definitions/monitor-log.xml.in | |
parent | 4bb15534dc815b04a526300cbd4a24f40fdfa433 (diff) | |
download | vyos-1x-090dc7e67b31f3dd1977a260c3106a6b610659ae.tar.gz vyos-1x-090dc7e67b31f3dd1977a260c3106a6b610659ae.zip |
op-mode: T4390: migrate "monitor log" to journalctl
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 4 |
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> |