Skip to content

Commit

Permalink
Add debug log in _pipeline_graph to ID task label
Browse files Browse the repository at this point in the history
  • Loading branch information
leeskelvin committed Sep 16, 2024
1 parent 8292ef4 commit 94f502d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changes/DM-46351.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a DEBUG-level log message into \_pipeline_graph to signify which task is being run.
1 change: 1 addition & 0 deletions python/lsst/pipe/base/pipeline_graph/_pipeline_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ def add_task(
label = task_class._DefaultName
if config is None:
config = task_class.ConfigClass()
_LOG.debug("Task: %s %s", label, task_class)
task_node = TaskNode._from_imported_data(
key=NodeKey(NodeType.TASK, label),
init_key=NodeKey(NodeType.TASK_INIT, label),
Expand Down

0 comments on commit 94f502d

Please sign in to comment.