Reduce debug.

This commit is contained in:
JoelKatz
2013-05-23 20:15:13 -07:00
parent 25e62d46b8
commit 3d4d6068ab

View File

@@ -30,7 +30,7 @@ int LedgerMaster::getValidatedLedgerAge()
{ {
if (!mValidLedger) if (!mValidLedger)
{ {
cLog(lsINFO) << "No validated ledger"; cLog(lsDEBUG) << "No validated ledger";
return 999999; return 999999;
} }
@@ -38,7 +38,7 @@ int LedgerMaster::getValidatedLedgerAge()
ret -= static_cast<int64>(mValidLedger->getCloseTimeNC()); ret -= static_cast<int64>(mValidLedger->getCloseTimeNC());
ret = std::max(0LL, ret); ret = std::max(0LL, ret);
cLog(lsINFO) << "Validated ledger age is " << ret; cLog(lsTRACE) << "Validated ledger age is " << ret;
return static_cast<int>(ret); return static_cast<int>(ret);
} }