This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 38e003c2c9 Warn on mini scheduler failures instead of debug (#39760) 38e003c2c9 is described below commit 38e003c2c9af48499971c694730d47b8973be1d6 Author: Ryan Hatter <25823361+rnh...@users.noreply.github.com> 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. --- 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 39af664631..1637c06e58 100644 --- a/airflow/models/taskinstance.py +++ b/airflow/models/taskinstance.py @@ -3703,7 +3703,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,