aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorJeffrey Czyz <jkczyz@gmail.com>2019-08-21 16:19:51 -0700
committerJeffrey Czyz <jkczyz@gmail.com>2020-01-03 10:59:06 -0800
commit428ac70095253225f64462ee15c595644747f376 (patch)
tree6a1d87325639ddc58954e10b9603de251d04788b /src/logging.cpp
parentbb862d7864cc4889285e1a3713e3864d667cf30a (diff)
downloadbitcoin-428ac70095253225f64462ee15c595644747f376.tar.xz
Add VALIDATION to BCLog::LogFlags
This flag is for logging from within CValidationInterface (see #12994). A separate flag is desirable as the logging can be noisy and thus may need to be disabled without affecting other logging.
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index 9f6b5ede12..e7cadead81 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -162,6 +162,7 @@ const CLogCategoryDesc LogCategories[] =
{BCLog::COINDB, "coindb"},
{BCLog::QT, "qt"},
{BCLog::LEVELDB, "leveldb"},
+ {BCLog::VALIDATION, "validation"},
{BCLog::ALL, "1"},
{BCLog::ALL, "all"},
};