-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make AWS SDK log retries at DEBUG or TRACE levels #1971
Conversation
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Not stale. |
@pdecat, apologies for the delayed response, and thank you for submitting the PR. We have a few questions for clarification:
Thanks! |
33f57ab
to
2909292
Compare
Hi @ParthaI, from memory (it's been a while 🙂), I only referred to the smithy-go logging documentation available inline https://github.com/aws/smithy-go/blob/main/logging/logger.go (Apache 2.0 license). I just took a look at the AWS terraform provider (still MPL 2.0 license), and it does not seem to use Smithy's Rebased and fixed the conflicts. |
FWIW, when debugging rate limits issues, I'm using a slightly modified version of this PR as Steampipe's DEBUG log level is already a bit too verbose to follow the AWS API requests. Also, I'm logging request/response bodies:
Not sure how this could be upstreamed, maybe by introducing additional configuration settings or environment variables. |
Searching with Google, I just stumbled on this usage of smithy-go's |
Thanks for sharing helpful insights, @pdecat.
@cbruno10 / @bigdatasourav, your suggestions and opinions would be greatly appreciated! Thank you! |
@pdecat, Could you please resolve the conflict? |
2909292
to
e7e9a12
Compare
Sure, rebased on main. |
With this change, the following messages are logged: