Skip to content

Commit

Permalink
Merge pull request #35 from richpsharp/bugfix/not-precalcualted-info-31
Browse files Browse the repository at this point in the history
fixes #31 change default logging level for precalculated to INFO
  • Loading branch information
phargogh authored Aug 25, 2020
2 parents 5728df3 + 44615fb commit a9c1c9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Unrleased Changes
-----------------
* Fixed several race conditions that could cause the ``TaskGraph`` object to
hang on an otherwise ordinary termination.
* Changed logging level to "INFO" on cases where the taskgraph was not
precalculated since it's an expected path of execution in ``TaskGraph``.
* Adding a ``hardlink_allowed`` parameter to ``add_task`` that allows the
attempt to hardlink a file in a case where a ``copy_artifact=True`` may
permit one. This will save on disk space as well as computation time
Expand Down
2 changes: 1 addition & 1 deletion taskgraph/Task.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ def is_precalculated(self):
"File hashes are different. cached: (%s) "
"actual: (%s)" % (hash_string, target_hash))
if mismatched_target_file_list:
LOGGER.warning(
LOGGER.info(
"not precalculated (%s), Task hash exists, "
"but there are these mismatches: %s",
self.task_name, '\n'.join(mismatched_target_file_list))
Expand Down

0 comments on commit a9c1c9e

Please sign in to comment.