Skip to content

Separate out ref counted related logs from the xds_client logs#24949

Merged
donnadionne merged 3 commits intogrpc:masterfrom
donnadionne:log
Dec 10, 2020
Merged

Separate out ref counted related logs from the xds_client logs#24949
donnadionne merged 3 commits intogrpc:masterfrom
donnadionne:log

Conversation

@donnadionne
Copy link
Copy Markdown
Contributor

No description provided.

@donnadionne donnadionne added the release notes: no Indicates if PR should not be in release notes label Dec 9, 2020
Copy link
Copy Markdown
Member

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

Just one comment, otherwise looks great!

namespace grpc_core {

TraceFlag grpc_xds_client_trace(false, "xds_client");
TraceFlag grpc_xds_client_ref_count_trace(false, "xds_client_ref_count");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please change "ref_count" to "refcount", since this will allow this tracer to be enabled/disabled all at once with the other ref-count tracers. For context, see:

if (strstr(t->name_, "refcount") != nullptr) {

(In https://github.com/grpc/grpc/blob/master/doc/environment_variables.md, we document the fact that you can enable all refcount tracers with "refcount".)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see! Fixed. PTAL thank you!

@donnadionne donnadionne merged commit aba2cef into grpc:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants