mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
[fold] revert log level
This commit is contained in:
@@ -219,7 +219,7 @@ private:
|
|||||||
run()
|
run()
|
||||||
{
|
{
|
||||||
beast::setCurrentThreadName("LedgerCleaner");
|
beast::setCurrentThreadName("LedgerCleaner");
|
||||||
JLOG(j_.warn()) << "Started ledger cleaner";
|
JLOG(j_.debug()) << "Started ledger cleaner";
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
@@ -392,7 +392,7 @@ private:
|
|||||||
|
|
||||||
if (app_.getFeeTrack().isLoadedLocal())
|
if (app_.getFeeTrack().isLoadedLocal())
|
||||||
{
|
{
|
||||||
JLOG(j_.warn())
|
JLOG(j_.debug())
|
||||||
<< "Ledger Cleaner: Waiting for load to subside";
|
<< "Ledger Cleaner: Waiting for load to subside";
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
std::this_thread::sleep_for(std::chrono::seconds(5));
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ SHAMapStoreImp::run()
|
|||||||
|
|
||||||
if (waitForImport)
|
if (waitForImport)
|
||||||
{
|
{
|
||||||
JLOG(journal_.warn())
|
JLOG(journal_.info())
|
||||||
<< "NOT rotating validatedSeq " << validatedSeq
|
<< "NOT rotating validatedSeq " << validatedSeq
|
||||||
<< " as rotation would interfere with ShardStore import";
|
<< " as rotation would interfere with ShardStore import";
|
||||||
}
|
}
|
||||||
@@ -360,7 +360,7 @@ SHAMapStoreImp::run()
|
|||||||
// will delete up to (not including) lastRotated
|
// will delete up to (not including) lastRotated
|
||||||
if (readyToRotate && !waitForImport)
|
if (readyToRotate && !waitForImport)
|
||||||
{
|
{
|
||||||
JLOG(journal_.warn())
|
JLOG(journal_.debug())
|
||||||
<< "rotating validatedSeq " << validatedSeq << " lastRotated "
|
<< "rotating validatedSeq " << validatedSeq << " lastRotated "
|
||||||
<< lastRotated << " deleteInterval " << deleteInterval_
|
<< lastRotated << " deleteInterval " << deleteInterval_
|
||||||
<< " canDelete_ " << canDelete_ << " state "
|
<< " canDelete_ " << canDelete_ << " state "
|
||||||
@@ -371,7 +371,7 @@ SHAMapStoreImp::run()
|
|||||||
if (healthWait() == stopping)
|
if (healthWait() == stopping)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
JLOG(journal_.warn()) << "copying ledger " << validatedSeq;
|
JLOG(journal_.debug()) << "copying ledger " << validatedSeq;
|
||||||
std::uint64_t nodeCount = 0;
|
std::uint64_t nodeCount = 0;
|
||||||
|
|
||||||
try
|
try
|
||||||
@@ -394,19 +394,19 @@ SHAMapStoreImp::run()
|
|||||||
if (healthWait() == stopping)
|
if (healthWait() == stopping)
|
||||||
return;
|
return;
|
||||||
// Only log if we completed without a "health" abort
|
// Only log if we completed without a "health" abort
|
||||||
JLOG(journal_.warn()) << "copied ledger " << validatedSeq
|
JLOG(journal_.debug()) << "copied ledger " << validatedSeq
|
||||||
<< " nodecount " << nodeCount;
|
<< " nodecount " << nodeCount;
|
||||||
|
|
||||||
JLOG(journal_.warn()) << "freshening caches";
|
JLOG(journal_.debug()) << "freshening caches";
|
||||||
freshenCaches();
|
freshenCaches();
|
||||||
if (healthWait() == stopping)
|
if (healthWait() == stopping)
|
||||||
return;
|
return;
|
||||||
// Only log if we completed without a "health" abort
|
// Only log if we completed without a "health" abort
|
||||||
JLOG(journal_.warn()) << validatedSeq << " freshened caches";
|
JLOG(journal_.debug()) << validatedSeq << " freshened caches";
|
||||||
|
|
||||||
JLOG(journal_.warn()) << "Making a new backend";
|
JLOG(journal_.debug()) << "Making a new backend";
|
||||||
auto newBackend = makeBackendRotating();
|
auto newBackend = makeBackendRotating();
|
||||||
JLOG(journal_.warn())
|
JLOG(journal_.debug())
|
||||||
<< validatedSeq << " new backend " << newBackend->getName();
|
<< validatedSeq << " new backend " << newBackend->getName();
|
||||||
|
|
||||||
clearCaches(validatedSeq);
|
clearCaches(validatedSeq);
|
||||||
|
|||||||
Reference in New Issue
Block a user