Moved verbose DEBUG and diagnostic logging from level 0 to level 6 to reduce console spam during normal operation

This commit is contained in:
Matt Hess
2025-12-08 23:56:25 +00:00
parent 1d319325e5
commit 0a7d287c40
8 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -984,7 +984,7 @@ void StratumServer::on_share_found(uv_work_t* req)
hash pow_hash;
LOGINFO(0, "DEBUG stratum hash: height=" << height << " seed=" << seed_hash << " blob_size=" << blob_size);
LOGINFO(6, "DEBUG stratum hash: height=" << height << " seed=" << seed_hash << " blob_size=" << blob_size);
{
std::string hex;
@@ -993,7 +993,7 @@ void StratumServer::on_share_found(uv_work_t* req)
snprintf(buf, sizeof(buf), "%02x", blob[i]);
hex += buf;
}
LOGINFO(0, "DEBUG stratum blob: " << hex);
LOGINFO(6, "DEBUG stratum blob: " << hex);
}
if (!pool->calculate_hash(blob, blob_size, height, seed_hash, pow_hash, false)) {