summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-05-06 15:26:39 +0100
committerGitHub <noreply@github.com>2025-05-06 15:26:39 +0100
commit1542745e183668461da219c6e5a80b13273b454d (patch)
tree83f1b02d5c1c01a516d53dce80bcb916c0553fa9 /python
parent72966b7224bd374c39832224f799ed4dbeb8e76c (diff)
parentff29f2317a1feb2f471c9c9e2763f62a7d09d236 (diff)
downloadvyos-1x-1542745e183668461da219c6e5a80b13273b454d.tar.gz
vyos-1x-1542745e183668461da219c6e5a80b13273b454d.zip
Merge pull request #4495 from c-po/frr-log
frr: T7431: missing logging options after rewrite to frrender class
Diffstat (limited to 'python')
-rw-r--r--python/vyos/frrender.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/frrender.py b/python/vyos/frrender.py
index 524167d8b..73d6dd5f0 100644
--- a/python/vyos/frrender.py
+++ b/python/vyos/frrender.py
@@ -697,6 +697,9 @@ 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'
# Enable SNMP agentx support
# SNMP AgentX support cannot be disabled once enabled
if 'snmp' in config_dict: