diff --git a/HISTORY.rst b/HISTORY.rst index 0a01028..7c180f0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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 diff --git a/taskgraph/Task.py b/taskgraph/Task.py index cfae40c..8a2fc69 100644 --- a/taskgraph/Task.py +++ b/taskgraph/Task.py @@ -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))