summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-10-11 20:14:43 +0200
committerChristian Breunig <christian@breunig.cc>2025-10-11 20:27:10 +0200
commitfca49413f5d949c1f8d6ee18828741c732bd8e5a (patch)
tree0a40e86e3725889a4a6fe3bd984542d40cf7a6db /python
parentc4c339fb5f7d786e587acb7a73f3d3fb0b1cd1c3 (diff)
downloadvyos-1x-fca49413f5d949c1f8d6ee18828741c732bd8e5a.tar.gz
vyos-1x-fca49413f5d949c1f8d6ee18828741c732bd8e5a.zip
frrender: T7764: do not log unique-id in syslog messages
There is currently no use for us for unique transaction ids emitted by FRR to syslog.
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 983934aa8..75824fcf9 100644
--- a/python/vyos/frrender.py
+++ b/python/vyos/frrender.py
@@ -724,11 +724,13 @@ class FRRender:
# Enable FRR logging
output += 'log facility daemon\n'
output += 'log timestamp precision 3\n'
- # Exdtend logging depending on operating mode
+ # Extend logging depending on operating mode
if os.path.exists(frr_debug_enable):
output += 'log syslog informational\n'
+ output += 'log unique-id\n'
else:
output += 'log syslog notifications\n'
+ output += 'no log unique-id\n'
# Enable SNMP agentx support
# SNMP AgentX support cannot be disabled once enabled