From 5089db15185c24f2fa45a189cce2608a699800ce Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 1 Mar 2013 13:17:14 -0800 Subject: [PATCH] Add some extra debug logging to track absence of CT consensus. --- src/cpp/ripple/LedgerConsensus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index a2e56d5cb..fb4345f39 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -790,10 +790,11 @@ void LedgerConsensus::updateOurPositions() thresh = ((thresh * neededWeight) + (neededWeight / 2)) / 100; if (thresh == 0) thresh = 1; + cLog(lsINFO) << "Proposers:" << mPeerPositions.size() << " nw:" << neededWeight << " thr:" << thresh; for (std::map::iterator it = closeTimes.begin(), end = closeTimes.end(); it != end; ++it) { - cLog(lsTRACE) << "CCTime: " << it->first << " has " << it->second << ", " << thresh << " required"; + cLog(lsDEBUG) << "CCTime: " << it->first << " has " << it->second << ", " << thresh << " required"; if (it->second >= thresh) { cLog(lsDEBUG) << "Close time consensus reached: " << it->first;