summaryrefslogtreecommitdiff
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
authorGiovanni Tataranni <g.tataranni@gmail.com>2024-09-19 15:46:02 +0200
committerGiovanni Tataranni <g.tataranni@gmail.com>2025-02-17 17:33:28 +0100
commit44a6e0dfedf97d44d354210ab1f483548580c440 (patch)
tree7d382a01c3f7487647008283ce50a60c4a786d38 /staticd/static_zebra.c
parenta09e949e4876faa6ddcf47e78c7f49ec3befda1a (diff)
tools: add logfmt option for frr-reload.py
Add the option of printing logs in logfmt format. Additional machine readable information can be printed via the `extra` argument. Example: ```python log.debug("exit context"), extra={"line": line, "ctx_keys": ctx_keys}) log.error(f"Failed to execute command {' '.join(cmd)}", extra={"cmd": cmd}) ``` Signed-off-by: Giovanni Tataranni <g.tataranni@gmail.com>
Diffstat (limited to 'staticd/static_zebra.c')
0 files changed, 0 insertions, 0 deletions