Skip to content

Commit

Permalink
Add info logging to ThreadRunner (#706)
Browse files Browse the repository at this point in the history
* add some logging to thread runner

* Update kedro/runner/thread_runner.py

Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>

* update release notes

Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
Co-authored-by: Zain Patel <zain.patel@quantumblack.com>
Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 4, 2021
1 parent 318be09 commit 535570a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ from kedro.framework.session import KedroSession
[noklam](https://github.com/noklam),
[Ivan Doroshenko](https://github.com/imdoroshenko),
[Zain Patel](https://github.com/mzjp2),
[Deepyaman Datta](https://github.com/deepyaman)
[Sam Hiscox](https://github.com/samhiscoxqb)
[Deepyaman Datta](https://github.com/deepyaman),
[Sam Hiscox](https://github.com/samhiscoxqb),
[Pascal Brokmeier](https://github.com/pascalwhoop)

## Thanks for supporting contributions

Expand Down
4 changes: 4 additions & 0 deletions kedro/runner/thread_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ def _run( # pylint: disable=too-many-locals,useless-suppression
self._suggest_resume_scenario(pipeline, done_nodes)
raise
done_nodes.add(node)
self._logger.info("Completed node: %s", node.name)
self._logger.info(
"Completed %d out of %d tasks", len(done_nodes), len(nodes)
)

# decrement load counts and release any data sets we've finished
# with this is particularly important for the shared datasets we
Expand Down

0 comments on commit 535570a

Please sign in to comment.