aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-19 11:14:03 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-19 11:14:03 -0700
commitacd095006f0ec7254223834043e7d8e1b592ef8c (patch)
tree90cf51c2c1a417f6c9da300fc4fd423b4260cd3a
parent5246838657be5020eaaeccc5ae9c18b04db6077d (diff)
Spam cleanup
-rw-r--r--src/core/client_config/lb_policy.h2
-rw-r--r--src/core/client_config/subchannel.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/core/client_config/lb_policy.h b/src/core/client_config/lb_policy.h
index d62419b457..3f7ca8f28d 100644
--- a/src/core/client_config/lb_policy.h
+++ b/src/core/client_config/lb_policy.h
@@ -75,8 +75,6 @@ struct grpc_lb_policy_vtable {
grpc_iomgr_closure *closure);
};
-#define GRPC_LB_POLICY_REFCOUNT_DEBUG
-
#ifdef GRPC_LB_POLICY_REFCOUNT_DEBUG
#define GRPC_LB_POLICY_REF(p, r) \
grpc_lb_policy_ref((p), __FILE__, __LINE__, (r))
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c
index c455c0112b..074e64dfc5 100644
--- a/src/core/client_config/subchannel.c
+++ b/src/core/client_config/subchannel.c
@@ -579,8 +579,6 @@ static void publish_transport(grpc_subchannel *c) {
static void on_alarm(void *arg, int iomgr_success) {
grpc_subchannel *c = arg;
gpr_mu_lock(&c->mu);
- gpr_log(GPR_DEBUG, "on_alarm:%d:%d:%d", c->have_alarm, iomgr_success,
- c->disconnected);
c->have_alarm = 0;
if (c->disconnected) {
iomgr_success = 0;
@@ -610,9 +608,6 @@ static void subchannel_connected(void *arg, int iomgr_success) {
gpr_time_from_seconds(60, GPR_TIMESPAN)) < 0) {
c->backoff_delta = gpr_time_add(c->backoff_delta, c->backoff_delta);
}
- gpr_log(GPR_DEBUG, "wait: %d.%09d %d.%09d %d.%09d", now.tv_sec, now.tv_nsec,
- c->next_attempt.tv_sec, c->next_attempt.tv_nsec,
- c->backoff_delta.tv_sec, c->backoff_delta.tv_nsec);
grpc_alarm_init(&c->alarm, c->next_attempt, on_alarm, c, now);
gpr_mu_unlock(&c->mu);
}