Skip to content

Commit

Permalink
T5714: op-cmd: Fix for "show log vpn ipsec/all"
Browse files Browse the repository at this point in the history
No results shown for this command "show log vpn ipsec"
Changed to journalctl
  • Loading branch information
srividya0208 committed Nov 8, 2023
1 parent c7042bd commit c6fd641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-mode-definitions/show-log.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c6fd641

Please sign in to comment.