From 00a2e8289851c31c625b3632eb882ec3be2598f5 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Wed, 11 Oct 2023 12:54:31 +0200 Subject: [PATCH] deps: turn on logging --- cwltool/loghandler.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cwltool/loghandler.py b/cwltool/loghandler.py index c1f451991c..a8282287f4 100644 --- a/cwltool/loghandler.py +++ b/cwltool/loghandler.py @@ -21,14 +21,19 @@ def configure_logging( rdflib_logger = logging.getLogger("rdflib.term") rdflib_logger.addHandler(stderr_handler) rdflib_logger.setLevel(logging.ERROR) + deps_logger = logging.getLogger("galaxy.tool_util.deps") if quiet: # Silence STDERR, not an eventual provenance log file stderr_handler.setLevel(logging.WARN) if debug: # Increase to debug for both stderr and provenance log file + base_logger.setLevel(logging.DEBUG) stderr_handler.setLevel(logging.DEBUG) rdflib_logger.setLevel(logging.DEBUG) + deps_logger.setLevel(logging.DEBUG) + if not quiet and not debug: + deps_logger.setLevel(logging.INFO) fmtclass = coloredlogs.ColoredFormatter if enable_color else logging.Formatter formatter = fmtclass("%(levelname)s %(message)s") if timestamps: