diff options
author | khramshinr <khramshinr@gmail.com> | 2024-05-23 17:39:56 +0600 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-30 15:28:47 +0000 |
commit | cbb05311454bfe04e40a8c6bb2387e05d411776f (patch) | |
tree | 7bfc5ccbb5155ce2ed012a66d8b9cd5d6cd57bc9 /data/templates/accel-ppp/l2tp.config.j2 | |
parent | e26fcfb0bb254deea26d9cf3c9707552eafcafe9 (diff) | |
download | vyos-1x-cbb05311454bfe04e40a8c6bb2387e05d411776f.tar.gz vyos-1x-cbb05311454bfe04e40a8c6bb2387e05d411776f.zip |
T4576: Accel-ppp logging level configuration
add ability to change logging level config for:
* VPN L2TP
* VPN PPTP
* VPN SSTP
* IPoE Server
* PPPoE Serve
(cherry picked from commit 4d84f786f64d2b80046100ead5d0e8c1eef7418c)
Diffstat (limited to 'data/templates/accel-ppp/l2tp.config.j2')
-rw-r--r-- | data/templates/accel-ppp/l2tp.config.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.j2 b/data/templates/accel-ppp/l2tp.config.j2 index 4ce9042c2..db4db66a7 100644 --- a/data/templates/accel-ppp/l2tp.config.j2 +++ b/data/templates/accel-ppp/l2tp.config.j2 @@ -28,7 +28,9 @@ max-starting={{ max_concurrent_sessions }} [log] syslog=accel-l2tp,daemon copy=1 -level=5 +{% if log.level is vyos_defined %} +level={{ log.level }} +{% endif %} [client-ip-range] 0.0.0.0/0 |