summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pptp.config.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/accel-ppp/pptp.config.j2')
-rw-r--r--data/templates/accel-ppp/pptp.config.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2
index a04bd40c0..44f35998b 100644
--- a/data/templates/accel-ppp/pptp.config.j2
+++ b/data/templates/accel-ppp/pptp.config.j2
@@ -28,7 +28,9 @@ max-starting={{ max_concurrent_sessions }}
[log]
syslog=accel-pptp,daemon
copy=1
-level=5
+{% if log.level is vyos_defined %}
+level={{ log.level }}
+{% endif %}
[client-ip-range]
0.0.0.0/0