diff --git a/src/logging.cpp b/src/logging.cpp index 5f055566ef5d8e..3aff2a439a0011 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -198,6 +198,7 @@ static const std::map> LOG_CATEGORIES_ {"blockstorage", BCLog::BLOCKSTORAGE}, {"txreconciliation", BCLog::TXRECONCILIATION}, {"scan", BCLog::SCAN}, + {"sv2", BCLog::SV2}, {"txpackages", BCLog::TXPACKAGES}, }; diff --git a/src/logging.h b/src/logging.h index fdc12c79b3281a..f33f44f6ea0b5b 100644 --- a/src/logging.h +++ b/src/logging.h @@ -71,6 +71,7 @@ namespace BCLog { TXRECONCILIATION = (CategoryMask{1} << 26), SCAN = (CategoryMask{1} << 27), TXPACKAGES = (CategoryMask{1} << 28), + SV2 = (CategoryMask{1} << 29), ALL = ~NONE, }; enum class Level {