Reduce api server logging rate

This commit is contained in:
Eric Harding committed 2017-09-05 11:46:55 -04:00
1 parent a460fae3a0
commit c3b7aac1b7
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ CAPI void api_client_send(ApiClient* pclient, const char* buffer, int buffer_len
pclient->rpc.wait_until_connected(1);
LOG(Api,Diag,"send rpc {}",((int64_t)buffer));
pclient->rpc.send(std::move(request), [=](qbus::RPCError e, const qbus::RPCReplyPtr& reply) {
LOG(Api,Diag,"rpc reply {}",((int64_t)buffer));
LOG(Api,Diag,"rpc reply {}",((int64_t)buffer));
switch (e) {
case qbus::RPCError::RPC_OK:
cb(reply->value().c_str(), reply->value().size(), extra);