c-wilson commented on issue #7740: [AIRFLOW-7065] Add optional propagation of 
task std streams to console
URL: https://github.com/apache/airflow/pull/7740#issuecomment-600095061
 
 
   I can certainly look at the ES log path. The benefit of the ES handler is 
that it prints _formatted_ messages to console, which seems helpful. The 
downside is that it doesn’t stream to console in real time but reads from the 
log file on task completion. It also is hard coded to sys dunder streams. 
   
   I wonder if a better implementation than my current one  would be to add a 
LogHandler that writes to the existing stream target instead of writing 
directly from the `StreamLogWriter`. This would avoid the feedback loop while 
preserving logging behavior. I can explore this. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to