diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-20 23:12:36 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-20 23:12:36 +0200 |
| commit | e12c92a693208b58c0bcec84c1758e0142c53c7c (patch) | |
| tree | 16e666e511fd0d916a2d405838bd4eebadbc5f5f | |
| parent | 6c0fd99099a6251a12bc2287d5ba2ab115cd8015 (diff) | |
| download | vyos-1x-e12c92a693208b58c0bcec84c1758e0142c53c7c.tar.gz vyos-1x-e12c92a693208b58c0bcec84c1758e0142c53c7c.zip | |
op-mode: T9009: use journalctl build-in colorisation
Drop third party binary grc for showing the log output in fancy colors.
Solely rely on what journalctl brings to the table.
| -rw-r--r-- | debian/control | 2 | ||||
| -rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/debian/control b/debian/control index ac05c06c4..6984e93d6 100644 --- a/debian/control +++ b/debian/control @@ -121,8 +121,6 @@ Depends: tuned, beep, wide-dhcpv6-client, -# Generic colorizer - grc, # The package "whois" contains both a whois database client # that end users can find useful, # and the "mkpasswd" utility we use for generating hashed passwords diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index fe9fa0051..f5f96b982 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -15,7 +15,7 @@ <properties> <help>Output log in a colored fashion</help> </properties> - <command>bash -c 'SYSTEMD_COLORS=false grc journalctl --no-hostname --follow --boot'</command> + <command>SYSTEMD_COLORS=true journalctl --no-hostname --follow --boot</command> </node> <leafNode name="certbot"> <properties> |
