[client_channel] Better trace message (#33121)

(this helped diagnose what was going on in another bug)
pull/33139/head
Craig Tiller 2 years ago committed by GitHub
parent 3526defc19
commit c2e1ea928d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/ext/filters/client_channel/client_channel.cc

@ -1492,7 +1492,8 @@ void ClientChannel::UpdateServiceConfigInDataPlaneLocked() {
void ClientChannel::CreateResolverLocked() { void ClientChannel::CreateResolverLocked() {
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
gpr_log(GPR_INFO, "chand=%p: starting name resolution", this); gpr_log(GPR_INFO, "chand=%p: starting name resolution for %s", this,
uri_to_resolve_.c_str());
} }
resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver( resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver(
uri_to_resolve_.c_str(), channel_args_, interested_parties_, uri_to_resolve_.c_str(), channel_args_, interested_parties_,

Loading…
Cancel
Save