mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Adjust some logging priorities.
This commit is contained in:
@@ -166,10 +166,10 @@ std::string RPCServer::handleRequest (const std::string& requestStr)
|
||||
|
||||
RPCHandler mRPCHandler (mNetOps);
|
||||
|
||||
WriteLog (lsTRACE, RPCServer) << valParams;
|
||||
WriteLog (lsINFO, RPCServer) << valParams;
|
||||
int cost = 10;
|
||||
Json::Value result = mRPCHandler.doRpcCommand (strMethod, valParams, mRole, cost);
|
||||
WriteLog (lsTRACE, RPCServer) << result;
|
||||
WriteLog (lsINFO, RPCServer) << result;
|
||||
|
||||
std::string strReply = JSONRPCReply (result, Json::Value (), id);
|
||||
return HTTPReply (200, strReply);
|
||||
|
||||
Reference in New Issue
Block a user