diff --git a/tangostationcontrol/tangostationcontrol/common/lofar_logging.py b/tangostationcontrol/tangostationcontrol/common/lofar_logging.py index 673af8f959edbdc748545bdcf6f08388c3fa944b..f6c6457d2d002276b91e6115026f892b6cb22fdf 100644 --- a/tangostationcontrol/tangostationcontrol/common/lofar_logging.py +++ b/tangostationcontrol/tangostationcontrol/common/lofar_logging.py @@ -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