summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-10-11 20:09:19 +0200
committerChristian Breunig <christian@breunig.cc>2025-10-11 20:09:19 +0200
commite6b4bbb586c0e0459d7df2c0c961e559537fd307 (patch)
tree5a655eb2d780452eb49ffdfb9cd25c7fa0322aa4 /python
parentf08442f2da5053a106e03e2fc2d06c0e04016b7e (diff)
downloadvyos-1x-e6b4bbb586c0e0459d7df2c0c961e559537fd307.tar.gz
vyos-1x-e6b4bbb586c0e0459d7df2c0c961e559537fd307.zip
frrender: T7764: log to daemon facility instead of local7
FRR operates multiple daemons - use proper syslog facility.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/frrender.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/frrender.py b/python/vyos/frrender.py
index b8b6435f1..9504c4c2c 100644
--- a/python/vyos/frrender.py
+++ b/python/vyos/frrender.py
@@ -720,9 +720,11 @@ class FRRender:
debug('FRR: START CONFIGURATION RENDERING')
# we can not reload an empty file, thus we always embed the marker
output = '!\n'
+
# Enable FRR logging
output += 'log syslog\n'
- output += 'log facility local7\n'
+ output += 'log facility daemon\n'
+
# Enable SNMP agentx support
# SNMP AgentX support cannot be disabled once enabled
if 'snmp' in config_dict: