This is an automated email from the ASF dual-hosted git repository.
onikolas 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 52c1abb5d03 Configure logging for Triggerer (#54992)
52c1abb5d03 is described below
commit 52c1abb5d031ee97ec4162c217df5769164825ce
Author: Niko Oliveira <[email protected]>
AuthorDate: Tue Sep 2 09:16:02 2025 -0700
Configure logging for Triggerer (#54992)
This will ensure logging configuration such as colored_console_log are
respected by the Triggerer processes.
---
airflow-core/src/airflow/jobs/triggerer_job_runner.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/airflow-core/src/airflow/jobs/triggerer_job_runner.py
b/airflow-core/src/airflow/jobs/triggerer_job_runner.py
index ba85d00f18a..63deea50f45 100644
--- a/airflow-core/src/airflow/jobs/triggerer_job_runner.py
+++ b/airflow-core/src/airflow/jobs/triggerer_job_runner.py
@@ -689,6 +689,10 @@ class TriggerRunnerSupervisor(WatchedSubprocess):
import msgspec
from structlog.stdlib import NAME_TO_LEVEL
+ from airflow.sdk.log import configure_logging
+
+ configure_logging()
+
fallback_log = structlog.get_logger(logger_name=__name__)
from airflow.sdk.log import logging_processors