diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-05-27 14:27:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-27 14:27:21 -0500 |
| commit | d7b48b4d43f79318909895c40b2dd967d10b96fb (patch) | |
| tree | 2b7756e4d73e5fc64691638322390b5ff67eafa8 /data | |
| parent | ab356b5bc98de4d5d4c2a1642fd88a67cb5fa279 (diff) | |
| parent | 3b22850f4fe4163fea73f907ba8fe72777ba8d80 (diff) | |
| download | vyos-1x-d7b48b4d43f79318909895c40b2dd967d10b96fb.tar.gz vyos-1x-d7b48b4d43f79318909895c40b2dd967d10b96fb.zip | |
Merge pull request #5222 from alexandr-san4ez/T8912-current
ipsec: T8912: Fix log level not respected in system journal
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/ipsec/charon_logging.conf.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/templates/ipsec/charon_logging.conf.j2 b/data/templates/ipsec/charon_logging.conf.j2 new file mode 100644 index 000000000..e8edee817 --- /dev/null +++ b/data/templates/ipsec/charon_logging.conf.j2 @@ -0,0 +1,18 @@ +# Generated by ${vyos_conf_scripts_dir}/vpn_ipsec.py + +charon { + syslog { + # prefix for each log message + identifier = charon + # use default settings to log to the LOG_DAEMON facility + daemon { +{% if log.level is vyos_defined %} + # Disabled - logging handled exclusively by charon-systemd.conf + default = -1 +{% else %} + default = 1 +{% endif %} + ike_name = yes + } + } +} |
