summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-30 17:29:43 +0200
committerGitHub <noreply@github.com>2024-05-30 17:29:43 +0200
commit1220c66589438da42db6a9c2334253024a7e68f2 (patch)
tree7bfc5ccbb5155ce2ed012a66d8b9cd5d6cd57bc9 /data/templates/accel-ppp/pppoe.config.j2
parente26fcfb0bb254deea26d9cf3c9707552eafcafe9 (diff)
parentcbb05311454bfe04e40a8c6bb2387e05d411776f (diff)
downloadvyos-1x-1220c66589438da42db6a9c2334253024a7e68f2.tar.gz
vyos-1x-1220c66589438da42db6a9c2334253024a7e68f2.zip
Merge pull request #3558 from vyos/mergify/bp/sagitta/pr-3510
T4576: Accel-ppp logging level configuration (backport #3510)
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.j2')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index 42bc8440c..6711f2ec9 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -27,7 +27,9 @@ thread-count={{ thread_count }}
[log]
syslog=accel-pppoe,daemon
copy=1
-level=5
+{% if log.level is vyos_defined %}
+level={{ log.level }}
+{% endif %}
{% if authentication.mode is vyos_defined("noauth") %}
[auth]