Skip to content
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

Change detailed logs in CredentialsProviderChain from info to debug #1578

Merged
merged 5 commits into from
Jul 27, 2022

Conversation

lkts
Copy link
Contributor

@lkts lkts commented Jul 26, 2022

Motivation and Context

Those logs are written quite often and in current state there can be ~ 4 log lines for each credential retrieval operation: three for providers that didn't provide credentials and one final for provider that does.

Given that some providers in chain not providing credentials is an expected situation, having those logs on INFO level is quite noisy.

Description

This change changes level of commonly written logs from info to debug.

Testing

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lkts lkts requested a review from a team as a code owner July 26, 2022 18:15
@jdisanti
Copy link
Collaborator

^ I am not sure what should i put there, what's "tada" f.e.?

We usually use tada (:tada:) for new features or things that a lot of people have been asking for. If you don't think this fits any of tada/bug/breaking, then you can just have all three be false.

@lkts lkts force-pushed the relax-credentials-chain-logs branch from 37f9368 to 2105e2f Compare July 26, 2022 22:02
@lkts lkts force-pushed the relax-credentials-chain-logs branch from 2105e2f to 9cacbd3 Compare July 26, 2022 22:08
@lkts lkts changed the base branch from main to 1125 July 26, 2022 22:09
@lkts lkts requested a review from a team as a code owner July 26, 2022 22:09
@lkts lkts changed the base branch from 1125 to main July 26, 2022 22:09
@lkts
Copy link
Contributor Author

lkts commented Jul 26, 2022

I haven't used GitHub in a while and i don't know how to deal with two commits that are from main but show up here.

Update: it seems fine now

@jdisanti jdisanti removed the request for review from a team July 26, 2022 22:51
@jdisanti jdisanti merged commit 0f2fae1 into smithy-lang:main Jul 27, 2022
@lkts lkts deleted the relax-credentials-chain-logs branch July 27, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants