pulquero opened a new issue, #27282:
URL: https://github.com/apache/airflow/issues/27282
### Description
Currently, KubernetesPodOperator fetches logs using
```
self.pod_manager.fetch_container_logs(
pod=self.pod,
container_name=self.BASE_CONTAINER_NAME,
follow=True,
)
```
and so only shows log from the main container in a pod. It would be very
useful/helpful to have the possibility to fetch logs for all the containers in
a pod.
### Use case/motivation
Making the cause of failed KubernetesPodOperator tasks a lot more visible.
### Related issues
_No response_
### Are you willing to submit a 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]