nirutgupta opened a new issue #21452: URL: https://github.com/apache/airflow/issues/21452
### Apache Airflow version 2.2.3 (latest released) ### What happened Hi I see when task is in running state, airflow reads pod logs but only last 100 lines. ``` *** Falling back to local log *** Trying to get logs (last 100 lines) from worker pod XXX *** ``` ### What you expected to happen Is there any configuration variable to increase this number. Why are we just limiting to 100, is there any specific reason to do that? ### How to reproduce It is a default behaviour. I am using kubernetes executor. https://github.com/apache/airflow/blob/main/airflow/utils/log/file_task_handler.py#L145-L154 these are the code lines ### Operating System Mac OS ### 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]
