Skip to content
Snippets Groups Projects
Commit a359f15a authored by Hans Fangohr's avatar Hans Fangohr
Browse files

black

parent a07cb0f8
No related branches found
No related tags found
1 merge request!29Restructure log location
Pipeline #370146 passed
...@@ -270,7 +270,7 @@ def set_up_logging(loglevel="warning", filename=None): ...@@ -270,7 +270,7 @@ def set_up_logging(loglevel="warning", filename=None):
shell_handler.setFormatter(shell_formatter) shell_handler.setFormatter(shell_formatter)
# use the log_level_numeric to decide how much logging is sent to shell # use the log_level_numeric to decide how much logging is sent to shell
shell_handler.setLevel(log_level_numeric) shell_handler.setLevel(log_level_numeric)
# Here we set the handlers of the RootLogger to be just the one we want. # Here we set the handlers of the RootLogger to be just the one we want.
# The reason is that the logging module will add a <StreamHandler <stderr> # The reason is that the logging module will add a <StreamHandler <stderr>
# (NOTSET)> handler if logging.info/logging.debug/... is used before we # (NOTSET)> handler if logging.info/logging.debug/... is used before we
......
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