From ff29f2317a1feb2f471c9c9e2763f62a7d09d236 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 5 May 2025 21:28:16 +0200 Subject: frr: T7431: missing logging options after rewrite to frrender class In src/etc/systemd/system/frr.service.d/override.conf#L6-L11 the log entry is added on restart - but not during normal operation of frrender.py Logging should be added persistent when rendering the FRR configuration using FRRender class. --- python/vyos/frrender.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3