aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-04-01 12:23:01 +0200
committerJon Atack <jon@atack.com>2022-04-05 12:49:48 +0200
commit39a34b6877945908759f6a2322f60852e521e2ee (patch)
tree7a170824a35af9d86470499730f2568f1873388b /src/logging.h
parent7ab9fc32d6a88d0c9a008d6e63ddc7460e5ea0c5 (diff)
downloadbitcoin-39a34b6877945908759f6a2322f60852e521e2ee.tar.xz
Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logging.h b/src/logging.h
index 710e6c4c32..ae8cad906c 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -60,7 +60,9 @@ namespace BCLog {
VALIDATION = (1 << 21),
I2P = (1 << 22),
IPC = (1 << 23),
+#ifdef DEBUG_LOCKCONTENTION
LOCK = (1 << 24),
+#endif
UTIL = (1 << 25),
BLOCKSTORE = (1 << 26),
ALL = ~(uint32_t)0,