diff options
author | Christian Breunig <christian@breunig.cc> | 2025-05-05 21:28:16 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-05-05 21:38:15 +0200 |
commit | ff29f2317a1feb2f471c9c9e2763f62a7d09d236 (patch) | |
tree | 5f97a5676d8879c8782584be3d5a1eacc4cd58a6 /python | |
parent | 1142072141a73596fc8aa0822e8893274632f202 (diff) | |
download | vyos-1x-ff29f2317a1feb2f471c9c9e2763f62a7d09d236.tar.gz vyos-1x-ff29f2317a1feb2f471c9c9e2763f62a7d09d236.zip |
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.
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/frrender.py | 3 |
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: |