jayachandrakasarla commented on code in PR #69597:
URL: https://github.com/apache/airflow/pull/69597#discussion_r3719048422


##########
providers/celery/provider.yaml:
##########
@@ -228,6 +228,17 @@ config:
         type: boolean
         example: ~
         default: ~
+      task_logs_to_stdout:
+        description: |
+          Also forward task subprocess stdout/stderr to the Celery worker's 
own stdout,
+          so task logs reach a container-level log collector (e.g. 
Kubernetes/Loki) in
+          addition to the task-log handler and the UI. This gives the Celery 
worker parity
+          with the LocalExecutor and the KubernetesExecutor per-task pod, 
which always
+          forward task logs to stdout. Disabled by default to preserve 
existing behaviour.

Review Comment:
   Added a section in `celery_executor.rst` with an ini example and an "Airflow 
3+ only" note.



-- 
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