summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-18 21:44:17 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-18 21:46:26 +0200
commit067ddcf27ac1fbc33cee710ae66a85b0368a26d9 (patch)
tree406c0b32b8ba5524c154869355d3577e9db9047f /op-mode-definitions
parentb242e24af4d870e936155bdbd965858bdd39aa98 (diff)
downloadvyos-1x-067ddcf27ac1fbc33cee710ae66a85b0368a26d9.tar.gz
vyos-1x-067ddcf27ac1fbc33cee710ae66a85b0368a26d9.zip
console-server: T2490: log to journald
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-log.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-log.xml b/op-mode-definitions/show-log.xml
index 0c4da647b..827bee4c7 100644
--- a/op-mode-definitions/show-log.xml
+++ b/op-mode-definitions/show-log.xml
@@ -32,6 +32,12 @@
</properties>
<command>cat $(printf "%s\n" /var/log/messages* | sort -nr ) | grep -e conntrackd</command>
</leafNode>
+ <leafNode name="console-server">
+ <properties>
+ <help>Show log for serial console server</help>
+ </properties>
+ <command>/usr/bin/journalctl -u conserver-server.service</command>
+ </leafNode>
<leafNode name="dhcp">
<properties>
<help>Show log for Dynamic Host Control Protocol (DHCP)</help>