Print the peer string, instead of the address of the peer string

pull/18196/head
Yash Tibrewal 6 years ago
parent 193293c590
commit 030149df8f
  1. 2
      src/core/ext/transport/chttp2/transport/writing.cc

@ -108,7 +108,7 @@ static void maybe_initiate_ping(grpc_chttp2_transport* t) {
GRPC_STATS_INC_HTTP2_PINGS_SENT();
t->ping_state.last_ping_sent_time = now;
if (grpc_http_trace.enabled() || grpc_bdp_estimator_trace.enabled()) {
gpr_log(GPR_INFO, "%s: Ping sent [%p]: %d/%d",
gpr_log(GPR_INFO, "%s: Ping sent [%s]: %d/%d",
t->is_client ? "CLIENT" : "SERVER", t->peer_string,
t->ping_state.pings_before_data_required,
t->ping_policy.max_pings_without_data);

Loading…
Cancel
Save