From cbb05311454bfe04e40a8c6bb2387e05d411776f Mon Sep 17 00:00:00 2001 From: khramshinr Date: Thu, 23 May 2024 17:39:56 +0600 Subject: 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) --- data/templates/accel-ppp/ipoe.config.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/templates/accel-ppp/ipoe.config.j2') diff --git a/data/templates/accel-ppp/ipoe.config.j2 b/data/templates/accel-ppp/ipoe.config.j2 index c89812985..d87b90473 100644 --- a/data/templates/accel-ppp/ipoe.config.j2 +++ b/data/templates/accel-ppp/ipoe.config.j2 @@ -29,7 +29,9 @@ max-starting={{ max_concurrent_sessions }} [log] syslog=accel-ipoe,daemon copy=1 -level=5 +{% if log.level is vyos_defined %} +level={{ log.level }} +{% endif %} [ipoe] verbose=1 -- cgit v1.2.3