summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control1
-rw-r--r--op-mode-definitions/monitor-log.xml.in8
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index fee3cc523..fe34e4cdf 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 @@
<help>Monitor last lines of messages file</help>
</properties>
<command>tail --follow=name /var/log/messages</command>
+ <children>
+ <node name="colored">
+ <properties>
+ <help>Output log in a colored fashion</help>
+ </properties>
+ <command>grc tail --follow=name /var/log/messages</command>
+ </node>
+ </children>
</node>
</children>
</node>