diff options
author | srividya0208 <a.srividya@vyos.io> | 2023-11-06 06:46:47 -0500 |
---|---|---|
committer | srividya0208 <a.srividya@vyos.io> | 2023-11-08 04:58:33 -0500 |
commit | c6fd64146e345189ee37b9f44681a69fe4f56b54 (patch) | |
tree | d2177ad713cf7590f033cdd6e64b3a2027904308 | |
parent | c7042bd0af8bb6d96a2defb01017cfb8d4c1cb7d (diff) | |
download | vyos-1x-c6fd64146e345189ee37b9f44681a69fe4f56b54.tar.gz vyos-1x-c6fd64146e345189ee37b9f44681a69fe4f56b54.zip |
T5714: op-cmd: Fix for "show log vpn ipsec/all"
No results shown for this command "show log vpn ipsec"
Changed to journalctl
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 4 |
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 9a8145f10..1f5a4dfec 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -271,13 +271,13 @@ <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 -b | sort -nr | grep -e charon -e accel -e pptpd -e ppp</command> </leafNode> <leafNode name="ipsec"> <properties> <help>Show log for IPSec</help> </properties> - <command>cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon</command> + <command>journalctl --no-hostname -b /usr/lib/ipsec/charon | tee</command> </leafNode> <leafNode name="l2tp"> <properties> |