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

internal: clean up all usages of grpclog, and replace with component #3719

Merged
merged 2 commits into from
Aug 6, 2020

Conversation

menghanl
Copy link
Contributor

No description provided.

Copy link
Contributor

@easwars easwars left a 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.

internal/binarylog/binarylog_end2end_test.go Show resolved Hide resolved
interop/xds/server/server.go Show resolved Hide resolved
@dfawley dfawley assigned menghanl and unassigned dfawley Jul 7, 2020
@menghanl menghanl force-pushed the logging_component_only branch from c2c90d9 to 6233954 Compare July 29, 2020 21:22
@dfawley dfawley assigned easwars and dfawley and unassigned menghanl Jul 30, 2020
Copy link
Contributor

@easwars easwars left a 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?

@easwars
Copy link
Contributor

easwars commented Jul 30, 2020

Looks good to me except for the "sts" component.

@easwars easwars assigned menghanl and unassigned easwars and dfawley Jul 30, 2020
@menghanl menghanl force-pushed the logging_component_only branch from f9475e5 to c648d2d Compare August 6, 2020 18:43
@menghanl menghanl merged commit 8beeedb into grpc:master Aug 6, 2020
@menghanl menghanl deleted the logging_component_only branch August 6, 2020 20:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
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.

3 participants