set log-mode in IPSec is broken in VyOS 1.2:
How you can reproduce:
[edit vpn ipsec logging] vyos@vyos-test# sh log-level 1 +log-modes mgr [edit vpn ipsec logging] vyos@vyos-test# commit [ vpn ] connecting to 'unix:///var/run/charon.ctl' failed: Connection refused failed to connect to stroke socket 'unix:///var/run/charon.ctl' Warning: unable to [Stroking log source mgr to loglevel 1], received error code 65280
Logging documentation of StrongSwan: https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration
A log-mode option 'all' would also be useful. Thanks