summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-11-06 18:01:44 -0800
committerhagbard <vyosdev@derith.de>2018-11-07 12:53:40 -0800
commit7c27777d222cad560a7002b52cd4b45b8d6cf070 (patch)
treef20fb05eb458d4a59f456ede5e9659c14ce15f55 /templates
parent0ea64f7c139685066663117aa30c52fb9aeb5680 (diff)
downloadvyatta-op-7c27777d222cad560a7002b52cd4b45b8d6cf070.tar.gz
vyatta-op-7c27777d222cad560a7002b52cd4b45b8d6cf070.zip
Fixes T963: no authorization logs
Diffstat (limited to 'templates')
-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