You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2025/09/01 21:16:31 UTC

Re: [PR] Switch all airflow logging to structlog [airflow]

ashb commented on code in PR #52651:
URL: https://github.com/apache/airflow/pull/52651#discussion_r2314576408


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -160,7 +160,8 @@ def _exit_gracefully(self, signum, frame) -> None:
             sys.exit(os.EX_SOFTWARE)
 
     def _execute(self) -> int | None:
-        self.log.info("Starting the triggerer")
+        logging.getLogger("airflow.foo.bar").info("Starting the triggerer")
+        self.log.info("Starting the triggerer", foo="bar")

Review Comment:
   ```suggestion
           self.log.info("Starting the triggerer")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org