summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/l2tp.config.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-30 17:27:15 +0200
committerGitHub <noreply@github.com>2024-05-30 17:27:15 +0200
commit22506533e995dfb14770a841a8baf52d74b0e176 (patch)
tree600b74718074cb6d87827bb5f23dc86269bdb24a /data/templates/accel-ppp/l2tp.config.j2
parent9859440abcad1e32b76b14a413c84c218f48bc0b (diff)
parent4d84f786f64d2b80046100ead5d0e8c1eef7418c (diff)
downloadvyos-1x-22506533e995dfb14770a841a8baf52d74b0e176.tar.gz
vyos-1x-22506533e995dfb14770a841a8baf52d74b0e176.zip
Merge pull request #3510 from HollyGurza/T4576
T4576: Accel-ppp logging level configuration
Diffstat (limited to 'data/templates/accel-ppp/l2tp.config.j2')
-rw-r--r--data/templates/accel-ppp/l2tp.config.j24
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