From fdc40a05bf80e3225149cd89d1e6b727cfe317ea Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Thu, 2 Jul 2015 17:29:01 +0200 Subject: [PATCH] BlockQueue::import() spams only under specific verbosity I am getting the thread id even with verbosity = 0 which can make it really difficult to debug anything else if I am not interested in said thread's ID --- libethereum/BlockQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/BlockQueue.cpp b/libethereum/BlockQueue.cpp index e5ff5fa8d..3a5138ca3 100644 --- a/libethereum/BlockQueue.cpp +++ b/libethereum/BlockQueue.cpp @@ -184,7 +184,7 @@ void BlockQueue::drainVerified_WITH_BOTH_LOCKS() ImportResult BlockQueue::import(bytesConstRef _block, BlockChain const& _bc, bool _isOurs) { - cdebug << std::this_thread::get_id(); + clog(BlockQueueTraceChannel) << std::this_thread::get_id(); // Check if we already know this block. h256 h = BlockInfo::headerHash(_block);