potiuk commented on issue #30029:
URL: https://github.com/apache/airflow/issues/30029#issuecomment-1468848076

   Yes. This is how currently logging works in released version - it takes the 
stdout and redirect it to logger inside task. If there is another redirection 
done with pytest done in the same process (whit ch pytest does by default) it 
will recurse because stdout that it gets is already a logger effectively. What 
you can try to do, is to run pytest as subprocess or disable any log 
redirection by pytest (you should look up in pytest options and try what works).
   
   Also we are doing some improvements to upcoming 2.6 version and it might 
change the behaviour - it would be best if you try the main version and see if 
it behaves better. 
   
   For now I am converting it to to a discussion in case more is needed.


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