Tweaked log levels
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user