Skip to content

Commit

Permalink
Only logging rpc completion time.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed May 29, 2017
1 parent 3fdeb45 commit ba3ee71
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rai/node/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2052,10 +2052,6 @@ void rai::rpc_connection::parse_connection ()
{
auto handler (std::make_shared <rai::rpc_handler> (*this_l->node, this_l->rpc, this_l->request.body, response_handler));
handler->process_request ();
if (this_l->node->config.logging.log_rpc ())
{
BOOST_LOG (this_l->node->log) << boost::str (boost::format ("RPC request %2% serviced in: %1% microseconds") % std::chrono::duration_cast <std::chrono::microseconds> (std::chrono::system_clock::now () - start).count () % boost::io::group (std::hex, std::showbase, reinterpret_cast <uintptr_t> (this_l.get ())));
}
}
else
{
Expand Down

0 comments on commit ba3ee71

Please sign in to comment.