From 2921553566c1c19914ffa2d0c4abfebb65c19b2a Mon Sep 17 00:00:00 2001 From: Rich Sharp Date: Fri, 21 Aug 2020 16:39:30 -0700 Subject: [PATCH] fixes #31 changed logging level and added history note --- HISTORY.rst | 2 ++ taskgraph/Task.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 6039b91..145afd4 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``. 0.9.1 (2020-06-04) ------------------ diff --git a/taskgraph/Task.py b/taskgraph/Task.py index e0246f4..745ba9b 100644 --- a/taskgraph/Task.py +++ b/taskgraph/Task.py @@ -1313,7 +1313,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))