Improve logging

pull/18401/head
Juanli Shen 6 years ago
parent 78fc00f0ce
commit 335ced6b79
  1. 4
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc

@ -691,8 +691,8 @@ void GrpcLb::Helper::RequestReresolution() {
if (child_ != latest_child_policy) return; if (child_ != latest_child_policy) return;
if (grpc_lb_glb_trace.enabled()) { if (grpc_lb_glb_trace.enabled()) {
gpr_log(GPR_INFO, gpr_log(GPR_INFO,
"[grpclb %p] Re-resolution requested from child policy (%p).", "[grpclb %p] Re-resolution requested from %schild policy (%p).",
parent_.get(), child_); parent_.get(), CalledByPendingChild() ? "pending " : "", child_);
} }
// If we are talking to a balancer, we expect to get updated addresses // If we are talking to a balancer, we expect to get updated addresses
// from the balancer, so we can ignore the re-resolution request from // from the balancer, so we can ignore the re-resolution request from

Loading…
Cancel
Save