resolve issue #1361 about peer stats excessive logging (#1365)

This commit is contained in:
Jeff 2020-09-23 14:44:39 -04:00 committed by GitHub
parent 5765c128ad
commit 10e3d80559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ namespace llarp
}
}
LogInfo("Updating ", staleStats.size(), " stats");
LogDebug("Updating ", staleStats.size(), " stats");
{
auto guard = m_storage->transaction_guard();
@ -96,7 +96,7 @@ namespace llarp
auto end = time_now_ms();
auto elapsed = end - start;
LogInfo("PeerDb flush took about ", elapsed, " seconds");
LogDebug("PeerDb flush took about ", elapsed, " seconds");
m_lastFlush.store(end);
}

View File

@ -860,7 +860,7 @@ namespace llarp
if (m_peerDb->shouldFlush(now))
{
LogWarn("Queing database flush...");
LogDebug("Queing database flush...");
QueueDiskIO([this]() { m_peerDb->flushDatabase(); });
}
}