From ba3ee711fb54853c510df2df30896074bd997f04 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Mon, 29 May 2017 18:00:47 -0500 Subject: [PATCH] Only logging rpc completion time. --- rai/node/rpc.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rai/node/rpc.cpp b/rai/node/rpc.cpp index e8c66e7073..b60e343825 100755 --- a/rai/node/rpc.cpp +++ b/rai/node/rpc.cpp @@ -2052,10 +2052,6 @@ void rai::rpc_connection::parse_connection () { auto handler (std::make_shared (*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::system_clock::now () - start).count () % boost::io::group (std::hex, std::showbase, reinterpret_cast (this_l.get ()))); - } } else {