Skip to content

Commit

Permalink
[logspam] Remove unguarded INFO logging of xds node ID (grpc#37405)
Browse files Browse the repository at this point in the history
Closes grpc#37405

COPYBARA_INTEGRATE_REVIEW=grpc#37405 from drfloob:logspam/xds_client 73c02c5
PiperOrigin-RevId: 660120253
  • Loading branch information
drfloob authored and copybara-github committed Aug 6, 2024
1 parent 45156d1 commit 3612376
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/xds/xds_client/xds_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1564,8 +1564,9 @@ XdsClient::XdsClient(
}
CHECK(bootstrap_ != nullptr);
if (bootstrap_->node() != nullptr) {
LOG(INFO) << "[xds_client " << this
<< "] xDS node ID: " << bootstrap_->node()->id();
GRPC_TRACE_LOG(xds_client, INFO)
<< "[xds_client " << this
<< "] xDS node ID: " << bootstrap_->node()->id();
}
}

Expand Down

0 comments on commit 3612376

Please sign in to comment.