summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_https.py
diff options
context:
space:
mode:
authorOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-05-27 16:31:15 +0300
committerOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-05-27 17:04:17 +0300
commit3b22850f4fe4163fea73f907ba8fe72777ba8d80 (patch)
treea4b3712ad9dffcae1dfb7178f94da45898aec630 /src/conf_mode/service_https.py
parentf420c2913a30cac5d61f94061466f6f6ccf7d81c (diff)
downloadvyos-1x-3b22850f4fe4163fea73f907ba8fe72777ba8d80.tar.gz
vyos-1x-3b22850f4fe4163fea73f907ba8fe72777ba8d80.zip
ipsec: T8912: Fix log level not respected in system journal
When setting 'vpn ipsec logging log-level 0', DPD informational messages (log level 1) were still appearing in the system journal. The root cause is that charon-systemd reads both `charon-systemd.conf` and `charon-logging.conf` and applies the higher of the two log levels to the journal. The VyOS only managed `charon-systemd.conf`, leaving `charon-logging.conf` at its default level of 1, which silently overrode the user-configured level. Fix this by rendering `charon-logging.conf` on every commit with syslog backend set to -1 (silent), making `charon-systemd.conf` the sole authoritative source for journal log verbosity. This also eliminates duplicate log entries in the journal that occurred when both backends were active and writing to the same destination.
Diffstat (limited to 'src/conf_mode/service_https.py')
0 files changed, 0 insertions, 0 deletions