aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-15 16:00:33 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-15 16:01:14 -0800
commit00c9c40004d011f01c72d253a530edb3364992bf (patch)
tree056f68afdb1e43ea3280b4dbfb054bb57288c2e0
parentd4ebd30eb2eb94f77ac9b52c44880e3d70c6aef0 (diff)
Remove extraneous logging statements
-rw-r--r--include/grpcpp/impl/codegen/call_op_set.h1
-rw-r--r--include/grpcpp/impl/codegen/interceptor_common.h1
-rw-r--r--test/cpp/end2end/client_interceptors_end2end_test.cc2
3 files changed, 0 insertions, 4 deletions
diff --git a/include/grpcpp/impl/codegen/call_op_set.h b/include/grpcpp/impl/codegen/call_op_set.h
index f330679ffc..ac3ba17bd9 100644
--- a/include/grpcpp/impl/codegen/call_op_set.h
+++ b/include/grpcpp/impl/codegen/call_op_set.h
@@ -323,7 +323,6 @@ class CallOpSendMessage {
*status = false;
} else if (!*status) {
// This Op was passed down to core and the Op failed
- gpr_log(GPR_ERROR, "failure status");
failed_send_ = true;
}
}
diff --git a/include/grpcpp/impl/codegen/interceptor_common.h b/include/grpcpp/impl/codegen/interceptor_common.h
index 21326df73b..321691236b 100644
--- a/include/grpcpp/impl/codegen/interceptor_common.h
+++ b/include/grpcpp/impl/codegen/interceptor_common.h
@@ -115,7 +115,6 @@ class InterceptorBatchMethodsImpl
void FailHijackedSendMessage() override {
GPR_CODEGEN_ASSERT(hooks_[static_cast<size_t>(
experimental::InterceptionHookPoints::PRE_SEND_MESSAGE)]);
- gpr_log(GPR_ERROR, "failing");
*fail_send_message_ = true;
}
diff --git a/test/cpp/end2end/client_interceptors_end2end_test.cc b/test/cpp/end2end/client_interceptors_end2end_test.cc
index 97947e7393..3708c11235 100644
--- a/test/cpp/end2end/client_interceptors_end2end_test.cc
+++ b/test/cpp/end2end/client_interceptors_end2end_test.cc
@@ -290,9 +290,7 @@ class ClientStreamingRpcHijackingInterceptor
if (methods->QueryInterceptionHookPoint(
experimental::InterceptionHookPoints::POST_SEND_MESSAGE)) {
EXPECT_FALSE(got_failed_send_);
- gpr_log(GPR_ERROR, "%d", got_failed_send_);
got_failed_send_ = !methods->GetSendMessageStatus();
- gpr_log(GPR_ERROR, "%d", got_failed_send_);
}
if (methods->QueryInterceptionHookPoint(
experimental::InterceptionHookPoints::PRE_RECV_STATUS)) {