提交 b519bf05 编写于 作者: T tangwei12

log level optimize

上级 4388ce11
...@@ -263,8 +263,7 @@ void AsyncGRPCServer::StartServer() { ...@@ -263,8 +263,7 @@ void AsyncGRPCServer::StartServer() {
reqs.reserve(kRequestBufSize); reqs.reserve(kRequestBufSize);
for (int i = 0; i < kRequestBufSize; i++) { for (int i = 0; i < kRequestBufSize; i++) {
LOG(INFO) << "TryToRegisterNewOne on RPC NAME: " << rpc_name VLOG(6) << "TryToRegisterNewOne on RPC NAME: " << rpc_name << " I: " << i;
<< " I: " << i;
TryToRegisterNewOne(rpc_name, i); TryToRegisterNewOne(rpc_name, i);
} }
...@@ -351,7 +350,7 @@ void AsyncGRPCServer::HandleRequest( ...@@ -351,7 +350,7 @@ void AsyncGRPCServer::HandleRequest(
while (true) { while (true) {
VLOG(3) << "HandleRequest " << rpc_name << " wait next"; VLOG(3) << "HandleRequest " << rpc_name << " wait next";
if (!cq->Next(&tag, &ok)) { if (!cq->Next(&tag, &ok)) {
LOG(INFO) << "CompletionQueue " << rpc_name << " shutdown!"; VLOG(3) << "CompletionQueue " << rpc_name << " shutdown!";
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册