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

Merge branch 'L2SS-532-reduce-logspam' into 'master'

L2SS-532: Spam logs less, reduces disk usage for log cache

Closes L2SS-532

See merge request !195
parents d4804b37 8170aab0
No related branches found
No related tags found
1 merge request!195L2SS-532: Spam logs less, reduces disk usage for log cache
Subproject commit dddb23ff587f6e9c837cdb77e7955e94272eca6f
Subproject commit 6e48f0fddf5541bc66d9f57e31297c0027ea97b7
......@@ -125,6 +125,9 @@ def configure_logger(logger: logging.Logger=None, log_extra=None, debug=False):
# 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)
# don't spam debug messages when fetching URLs
logging.getLogger("urllib3").setLevel(logging.INFO)
# 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