jayachandrakasarla opened a new pull request, #69597:
URL: https://github.com/apache/airflow/pull/69597

   Closes #69554 
   
   Currently, CeleryExecutor task logs are not forwarded to stdout because this 
behavior is hardcoded to false in `BaseExecutor.run_workload()`.
   
   This PR allows users to enable log forwarding by setting 
`AIRFLOW__CELERY__TASK_LOGS_TO_STDOUT=True`. By default, this setting remains 
false to preserve the existing behavior. When enabled, task logs are forwarded 
to stdout, allowing container-level log collectors to capture them.
   
   Below is a screenshot of the Celery worker logs showing the task's stdout 
output.
   <img width="1500" height="793" alt="image" 
src="https://github.com/user-attachments/assets/c41bb004-fee1-44e8-b6dc-a417c372159d";
 />
   
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (Claude Sonnet 4.6)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to