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

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   The `configure_logging` method in the task sdk overwrites the configured 
Airflow loggers from `airflow.logging_config`, which makes it look like the 
`airflow.task` logger has no handlers. This prevents the `_upload_logs` 
function from being able to update logs.
   
   A potential fix is to cache the configured handler for airflow.task before 
the task sdk supervise method and use that cached handler. A longer term fix is 
to not use the derived handlers but to read the logging configuration directly 
in the supervise method to instantiate the correct log upload functionality.
   
   ### What you think should happen instead?
   
   The task sdk superviser should be able to use the configured remote loggers.
   
   ### How to reproduce
   
   Run any executor with `logging.remote_logging=True` and a configured remote 
logging configuration.
   
   ### Operating System
   
   Debian GNU/Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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