Adjust some logging priorities.

This commit is contained in:
JoelKatz
2013-06-20 11:43:28 -07:00
parent 6b2aa5269c
commit 5aa1c44605
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -250,7 +250,7 @@ bool SNTPClient::doQuery ()
if (best == mServers.end ())
{
WriteLog (lsINFO, SNTPClient) << "SNTP: No server to query";
WriteLog (lsTRACE, SNTPClient) << "SNTP: No server to query";
return false;
}