summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-21 23:22:53 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-21 23:34:23 +0100
commitf15e52248046f48a710bc69c85d7aa734ea15951 (patch)
tree0692a71afe0f16129129fadbf37937c219f1ef14
parent4b7f5bc06fda2613c89f75562efa90680463f78e (diff)
downloadvyos-1x-f15e52248046f48a710bc69c85d7aa734ea15951.tar.gz
vyos-1x-f15e52248046f48a710bc69c85d7aa734ea15951.zip
op-mode: T6971: "monitor log" should have no output color at all
There was an invalid attempt to remove journalctl output colour. Unfortunately it does not work 100% and it needs a different environment variable. This fixes commit 9a85d8bbeee7.
-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 f6b70be32..c9dc49b3a 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -9,13 +9,13 @@
<properties>
<help>Monitor last lines of messages file</help>
</properties>
- <command>SYSTEMD_LOG_COLOR=false journalctl --no-hostname --follow --boot</command>
+ <command>SYSTEMD_COLORS=false journalctl --no-hostname --follow --boot</command>
<children>
<node name="color">
<properties>
<help>Output log in a colored fashion</help>
</properties>
- <command>SYSTEMD_LOG_COLOR=false grc journalctl --no-hostname --follow --boot</command>
+ <command>SYSTEMD_COLORS=false grc journalctl --no-hostname --follow --boot</command>
</node>
<node name="ids">
<properties>