IPSec log level on RUTX14

Hi!
Is it possible to change IPsec log level on RUTX14 device?
I use remote syslog server and most logs are IPsec logs and they are too big.
Decreasing log level will be nice option.

br,
Tarvo

Hello,

Thank you for reaching out.

To decrease the amount of IPsec logs, you can add the following line to your /etc/config/ipsec configuration file:

option debug '0'

image

You can achieve this using the VIM editor, editing config directly or by running the following commands:

uci set ipsec.global.debug='0'

uci commit ipsec

/etc/init.d/swanctl restart

This should significantly reduce the verbosity of IPsec logs.

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.