-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
internal: clean up all usages of grpclog, and replace with component #3719
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, would it make sense to add a README
somewhere, probably in grpclog directory that lists the available components. Or maybe directly add something in https://github.com/grpc/grpc-go/blob/master/Documentation/log_levels.md to talk about component logging.
c2c90d9
to
6233954
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 36 of 36 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dfawley and @menghanl)
credentials/sts/sts.go, line 65 at r1 (raw file):
readSubjectTokenFrom = ioutil.ReadFile readActorTokenFrom = ioutil.ReadFile logger = grpclog.Component("sts")
Do we need a separate component for STS? Can't it use the "credentials" component?
Looks good to me except for the "sts" component. |
f9475e5
to
c648d2d
Compare
No description provided.