Logs server doesn't fall back to local logs when Amazon CloudWatch logs aren't found #27395
Unanswered
matthewblock
asked this question in
General
Replies: 1 comment
-
Converted to discussion by mistake. This is really CloudWatch task implementation issue and should be easy - you can even attempt it by lookin at how S3 implemeted it. Creaed #27396 and marked as good first issue. If you will not attempt to fix it @matthewblock, maybe someone else will pick it up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apache Airflow version
Other Airflow 2 version (please specify below)
What happened
We recently activated AWS Cloudwatch logs. We were hoping the logs server would gracefully handle task logs that previously existed but were not written to Cloudwatch, but when fetching the remote logs failed (expected), the logs server didn't fall back to local logs.
What you think should happen instead
According to documentation Logging for Tasks, when fetching remote logs fails, the logs server should fall back to looking for local logs:
This should be indicated by the message
*** Falling back to local log
.If this is not the intended behavior, the documentation should be modified to reflect the intended behavior.
How to reproduce
Operating System
Debian buster-slim
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?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions