summaryrefslogtreecommitdiff
path: root/templates/show/log
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/log')
-rw-r--r--templates/show/log/authorization/node.def4
-rw-r--r--templates/show/log/node.def4
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/show/log/authorization/node.def b/templates/show/log/authorization/node.def
index 80686a0..637943f 100644
--- a/templates/show/log/authorization/node.def
+++ b/templates/show/log/authorization/node.def
@@ -1,4 +1,2 @@
help: Show listing of authorization attempts
-run: less $_vyatta_less_options \
- --prompt=".log, page %dt of %D" \
- -- /var/log/auth.log
+run: sudo /bin/journalctl -q SYSLOG_FACILITY=10 SYSLOG_FACILITY=4
diff --git a/templates/show/log/node.def b/templates/show/log/node.def
index 3d37d84..a4f494f 100644
--- a/templates/show/log/node.def
+++ b/templates/show/log/node.def
@@ -1,4 +1,2 @@
help: Show contents of current master log file
-run: less $_vyatta_less_options \
- --prompt=".log, page %dt of %D" \
- -- /var/log/messages
+run: sudo /bin/journalctl