From 6330708f7ad50e56b16e1c7bc671eaddcd758bdb 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). --- debian/control | 1 + op-mode-definitions/monitor-log.xml.in | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/debian/control b/debian/control index c74eaa459..4351bf3d9 100644 --- a/debian/control +++ b/debian/control @@ -49,6 +49,7 @@ Depends: file, frr, frr-pythontools, + grc, hostapd (>= 0.6.8), hvinfo, igmpproxy, 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