mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Reduce logging.
This commit is contained in:
@@ -1436,7 +1436,7 @@ void NetworkOPs::subAccount(InfoSub* ispListener, const boost::unordered_set<Rip
|
|||||||
// For the connection, monitor each account.
|
// For the connection, monitor each account.
|
||||||
BOOST_FOREACH(const RippleAddress& naAccountID, vnaAccountIDs)
|
BOOST_FOREACH(const RippleAddress& naAccountID, vnaAccountIDs)
|
||||||
{
|
{
|
||||||
cLog(lsINFO) << boost::str(boost::format("subAccount: account: %d") % naAccountID.humanAccountID());
|
cLog(lsTRACE) << boost::str(boost::format("subAccount: account: %d") % naAccountID.humanAccountID());
|
||||||
|
|
||||||
ispListener->insertSubAccountInfo(naAccountID, uLedgerIndex);
|
ispListener->insertSubAccountInfo(naAccountID, uLedgerIndex);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2473,13 +2473,13 @@ Json::Value RPCHandler::doSubscribe(Json::Value jvRequest)
|
|||||||
RPCSub *rspSub = mNetOps->findRpcSub(strUrl);
|
RPCSub *rspSub = mNetOps->findRpcSub(strUrl);
|
||||||
if (!rspSub)
|
if (!rspSub)
|
||||||
{
|
{
|
||||||
cLog(lsINFO) << boost::str(boost::format("doSubscribe: building: %s") % strUrl);
|
cLog(lsDEBUG) << boost::str(boost::format("doSubscribe: building: %s") % strUrl);
|
||||||
|
|
||||||
rspSub = mNetOps->addRpcSub(strUrl, new RPCSub(strUrl, strUsername, strPassword));
|
rspSub = mNetOps->addRpcSub(strUrl, new RPCSub(strUrl, strUsername, strPassword));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cLog(lsINFO) << boost::str(boost::format("doSubscribe: reusing: %s") % strUrl);
|
cLog(lsTRACE) << boost::str(boost::format("doSubscribe: reusing: %s") % strUrl);
|
||||||
|
|
||||||
if (jvRequest.isMember("username"))
|
if (jvRequest.isMember("username"))
|
||||||
rspSub->setUsername(strUsername);
|
rspSub->setUsername(strUsername);
|
||||||
@@ -2559,7 +2559,7 @@ Json::Value RPCHandler::doSubscribe(Json::Value jvRequest)
|
|||||||
{
|
{
|
||||||
mNetOps->subAccount(ispSub, usnaAccoundIds, uLedgerIndex, false);
|
mNetOps->subAccount(ispSub, usnaAccoundIds, uLedgerIndex, false);
|
||||||
|
|
||||||
cLog(lsINFO) << boost::str(boost::format("doSubscribe: accounts: %d") % usnaAccoundIds.size());
|
cLog(lsDEBUG) << boost::str(boost::format("doSubscribe: accounts: %d") % usnaAccoundIds.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user