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

identity: tweak token validation log levels #12187

Merged
merged 2 commits into from Mar 5, 2024

Conversation

zaharidichev
Copy link
Member

Currently when an invalid token has been provided by the proxy to the destination's Certify method, the error is logged at debug level. We ideally want to make that more visible, hence changing to info.

Signed-off-by: Zahari Dichev zaharidichev@gmail.com

@zaharidichev zaharidichev requested a review from a team as a code owner March 1, 2024 12:00
pkg/identity/service.go Outdated Show resolved Hide resolved
pkg/identity/service.go Show resolved Hide resolved
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev force-pushed the zd/tweak-token-validation-log-level branch from 30293f5 to d609bad Compare March 1, 2024 14:09
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev requested a review from alpeb March 4, 2024 17:04
@zaharidichev zaharidichev merged commit 60cc2e0 into main Mar 5, 2024
33 checks passed
@zaharidichev zaharidichev deleted the zd/tweak-token-validation-log-level branch March 5, 2024 07:30
GrigoriyMikhalkin pushed a commit to GrigoriyMikhalkin/linkerd2 that referenced this pull request Mar 10, 2024
Currently, when an invalid token has been provided by the proxy 
to the destination's `Certify` method, the error is logged at the debug
level. We change that to INFO to make it more visible.

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
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.

None yet

3 participants