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

pickfirst: add prefix logging #6482

Merged
merged 2 commits into from
Jul 27, 2023
Merged

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Jul 27, 2023

Also includes some minor improvements to existing logs and error strings.

Fixes #6467

RELEASE NOTES: none

@easwars easwars requested a review from dfawley July 27, 2023 02:05
@easwars easwars added the Type: Internal Cleanup Refactors, etc label Jul 27, 2023
@easwars easwars added this to the 1.58 Release milestone Jul 27, 2023
pickfirst.go Outdated
Comment on lines 96 to 97
if logger.V(2) {
logger.Infof("pickfirstBalancer: ResolverError called with error: %v", err)
logger.Infof("Received error from the name resolver: %v", err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be b.logger, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch. Fixed that.

@dfawley dfawley assigned easwars and unassigned dfawley Jul 27, 2023
@easwars easwars assigned dfawley and unassigned easwars Jul 27, 2023
@dfawley dfawley assigned easwars and unassigned dfawley Jul 27, 2023
@easwars easwars merged commit b8d36ca into grpc:master Jul 27, 2023
10 checks passed
@easwars easwars deleted the pick_first_prefix_logger branch July 27, 2023 19:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pickfirst: add prefix logging to the pick_first LB policy
2 participants