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

   A previous change to fix disappearing log messages turned on propagation for 
the `airflow.task` logger, and disabled it again after `set_context()` was 
called, but only if that function returned a special sentinel value.
   
   For the "core" task log handlers we returned them, but some providers 
weren't "correctly" subclassing and weren't returning this sentinel value.
   
   The fix here is to change the logic from disable only on special value to 
disable by default and maintain propagation on special value; this means that 
if a handler doesn't return the value from `super()` (or if they don't even 
subclass the default handler) propagation will still be disabled by default.
   
   Fixes #27345


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