Skip to content

Commit

Permalink
deps: turn on logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Oct 12, 2023
1 parent 9ddb32f commit 9be2123
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cwltool/loghandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ 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")
deps_logger.addHandler(stderr_handler)
if quiet:
# Silence STDERR, not an eventual provenance log file
stderr_handler.setLevel(logging.WARN)
Expand All @@ -29,6 +31,7 @@ def configure_logging(
base_logger.setLevel(logging.DEBUG)
stderr_handler.setLevel(logging.DEBUG)
rdflib_logger.setLevel(logging.DEBUG)
deps_logger.setLevel(logging.DEBUG)
fmtclass = coloredlogs.ColoredFormatter if enable_color else logging.Formatter
formatter = fmtclass("%(levelname)s %(message)s")
if timestamps:
Expand Down

0 comments on commit 9be2123

Please sign in to comment.