Tweaked log levels

This commit is contained in:
SChernykh
2021-08-28 23:34:46 +02:00
parent ff4d89868b
commit 8a26498b66
2 changed files with 3 additions and 3 deletions

View File

@@ -1449,7 +1449,7 @@ void SideChain::prune_old_blocks()
} }
if (num_blocks_pruned) { if (num_blocks_pruned) {
LOGINFO(3, "pruned " << num_blocks_pruned << " old blocks at heights <= " << h); LOGINFO(4, "pruned " << num_blocks_pruned << " old blocks at heights <= " << h);
} }
} }

View File

@@ -74,11 +74,11 @@ StratumServer::~StratumServer()
void StratumServer::on_block(const BlockTemplate& block) void StratumServer::on_block(const BlockTemplate& block)
{ {
LOGINFO(3, "new block template at height " << block.height()); LOGINFO(4, "new block template at height " << block.height());
const uint32_t num_connections = m_numConnections; const uint32_t num_connections = m_numConnections;
if (num_connections == 0) { if (num_connections == 0) {
LOGINFO(3, "no clients connected"); LOGINFO(4, "no clients connected");
return; return;
} }