Skip to content
Snippets Groups Projects
Commit 41cbc64a authored by Jan David Mol's avatar Jan David Mol
Browse files

Disable git logging to avoid an infinite loop

parent 32757414
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,9 @@ def configure_logger(logger: logging.Logger=None, log_extra=None, debug=False):
# remove spam from the OPC-UA client connection
logging.getLogger("opcua").setLevel(logging.WARN)
# don't spam errors for git, as we use it in our log handler, which would result in an infinite loop
logging.getLogger("git").setLevel(logging.ERROR)
# for now, also log to stderr
# Set up logging in a way that it can be understood by a human reader, be
# easily grep'ed, be parsed with a couple of shell commands and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment