summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:43:46 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-24 19:56:23 +0200
commitb7feed29627c58e969b1d07ef08fc2811142194f (patch)
tree6ff47dd0ef1cc90c4df9c50b4b67f16217a86e75 /op-mode-definitions
parent254285bb5d701e950c1243dd2f4f592146ede2aa (diff)
downloadvyos-1x-b7feed29627c58e969b1d07ef08fc2811142194f.tar.gz
vyos-1x-b7feed29627c58e969b1d07ef08fc2811142194f.zip
op-mode: T4390: migrate "show log vpn" to journalctl
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-log.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 455bd7c64..ebd198215 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -380,7 +380,7 @@
<properties>
<help>Show log for ALL</help>
</properties>
- <command>cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon -e accel -e pptpd -e ppp</command>
+ <command>journalctl --no-hostname --boot --unit strongswan-starter.service --unit accel-ppp@*.service</command>
</leafNode>
<leafNode name="ipsec">
<properties>
@@ -392,7 +392,7 @@
<properties>
<help>Show log for L2TP</help>
</properties>
- <command>cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e remote-access-aaa-win -e remote-access-zzz-mac -e accel-l2tp -e ppp</command>
+ <command>journalctl --no-hostname --boot --unit accel-ppp@l2tp.service</command>
</leafNode>
<leafNode name="pptp">
<properties>