This is an automated email from the ASF dual-hosted git repository. utkarsharma pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a11c0cde0452b45dbbbce9ea137588869f370be9 Author: Ryan Hatter <[email protected]> AuthorDate: Sun Jun 2 09:30:18 2024 -0400 Warn on mini scheduler failures instead of debug (#39760) Mini scheduler issues are rare and hard to debug. Chances are the problem won't be reproducible after enabling debug logging. (cherry picked from commit 38e003c2c9af48499971c694730d47b8973be1d6) --- airflow/models/taskinstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/models/taskinstance.py b/airflow/models/taskinstance.py index c4fe6ff001..f82adae2e9 100644 --- a/airflow/models/taskinstance.py +++ b/airflow/models/taskinstance.py @@ -3507,7 +3507,7 @@ class TaskInstance(Base, LoggingMixin): except OperationalError as e: # Any kind of DB error here is _non fatal_ as this block is just an optimisation. - cls.logger().debug( + cls.logger().warning( "Skipping mini scheduling run due to exception: %s", e.statement, exc_info=True,
