diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-12-02 22:54:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 22:54:24 +0000 |
commit | d8fe1088d647fc821e523686c78927ad017d3c4a (patch) | |
tree | 83ba41bb17a6b43b58f9cbe3c6af668d471e08e0 /op-mode-definitions/show-log.xml.in | |
parent | fc76d8f783486c7491afa92a9846a6db353e866c (diff) | |
parent | c6fd64146e345189ee37b9f44681a69fe4f56b54 (diff) | |
download | vyos-1x-d8fe1088d647fc821e523686c78927ad017d3c4a.tar.gz vyos-1x-d8fe1088d647fc821e523686c78927ad017d3c4a.zip |
Merge pull request #2442 from srividya0208/T5714
T5714: op-cmd: Fix for "show log vpn ipsec/all"
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-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> |