Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive

This commit is contained in:
Jon Atack
2022-04-01 12:23:01 +02:00
parent 7ab9fc32d6
commit 39a34b6877
6 changed files with 18 additions and 6 deletions

View File

@@ -160,7 +160,9 @@ const CLogCategoryDesc LogCategories[] =
{BCLog::VALIDATION, "validation"},
{BCLog::I2P, "i2p"},
{BCLog::IPC, "ipc"},
#ifdef DEBUG_LOCKCONTENTION
{BCLog::LOCK, "lock"},
#endif
{BCLog::UTIL, "util"},
{BCLog::BLOCKSTORE, "blockstorage"},
{BCLog::ALL, "1"},