From 35e596811820dea92ed20759a2e8f4bd84a88c81 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 4 Apr 2021 10:01:20 +0200 Subject: T3457: output the "monitor log" command in a colorful way Add a new CLI command "monitor log colored" to run the log file monitoring through grc (https://github.com/garabik/grc). (cherry picked from commit 6330708f7ad50e56b16e1c7bc671eaddcd758bdb) --- op-mode-definitions/monitor-log.xml.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'op-mode-definitions/monitor-log.xml.in') diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 99efe5306..352c84ff1 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -7,6 +7,14 @@ Monitor last lines of messages file tail --follow=name /var/log/messages + + + + Output log in a colored fashion + + grc tail --follow=name /var/log/messages + + -- cgit v1.2.3