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

xdsclient: log node ID with verbosity INFO #5860

Merged
merged 3 commits into from Dec 14, 2022

Conversation

mohanli-ml
Copy link
Contributor

@mohanli-ml mohanli-ml commented Dec 13, 2022

Log xDS bootstrap so that we can better debug DirectPath issues.

C++: grpc/grpc#31797
Java: grpc/grpc-java#9731

RELEASE NOTES:

  • xdsclient: log node ID with verbosity INFO

@mohanli-ml
Copy link
Contributor Author

From https://github.com/grpc/grpc-go/blob/master/xds/internal/xdsclient/bootstrap/bootstrap.go#L114 the NodeProto can have different type, so I just log the entire bootstrap as a string for simplicity. Please suggest.

xds/internal/xdsclient/singleton.go Outdated Show resolved Hide resolved
@dfawley dfawley assigned mohanli-ml and unassigned mohanli-ml Dec 13, 2022
@dfawley dfawley added this to the 1.52 Release milestone Dec 13, 2022
@dfawley dfawley changed the title Log xDS bootstrap with verbosity INFO xdsclient: log node ID with verbosity INFO Dec 13, 2022
@dfawley dfawley merged commit e53d28f into grpc:master Dec 14, 2022
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants