borg uses human readable log output as well as json log output.
Maybe we could use Hynek's structlog and refactor log output.
https://www.structlog.org/en/stable/index.html
Note: some tools wrap borg and use cli options, json api and rc code to interface to a borg subprocess. Try to stay compatible.
Could maybe be also helpful for #9454.
borg uses human readable log output as well as json log output.
Maybe we could use Hynek's
structlogand refactor log output.https://www.structlog.org/en/stable/index.html
Note: some tools wrap borg and use cli options, json api and rc code to interface to a borg subprocess. Try to stay compatible.
Could maybe be also helpful for #9454.