dstandish opened a new issue, #28314:
URL: https://github.com/apache/airflow/issues/28314

   ### Body
   
   with celery executor, while tasks are running, on celery worker, we serve 
logs up with a mini web server, and the airflow webserver reads from there.
   with kubernetes executor we don’t do that and instead airflow webserver 
reads from k8s pod logs.
   the problem is that when tasks are running we redirect stdout to logs so 
that if you do print in your tasks it will still get captured.
   i tried ([pr](https://github.com/apache/airflow/pull/28238)) running k8s 
tasks with  --interactive and this half worked but but resulted in some things 
going to stdout and some going to logs — not everything in both places (which 
is what we desire).
   i have a feeling that best way forward might be to “fix” interactive mode so 
that it logs to both places — i.e. still logs to file / handlers, but also tees 
everything to stdout somehow. (edited)
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


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