Skip to content

Commit

Permalink
logging: remove unused BCLog::UTIL
Browse files Browse the repository at this point in the history
Suggested by: David Gumberg (bitcoin#29415 (comment))
  • Loading branch information
vasild committed Feb 11, 2024
1 parent d3b3af9 commit b0344c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ static const std::map<std::string, BCLog::LogFlags> LOG_CATEGORIES_BY_STR{
#ifdef DEBUG_LOCKCONTENTION
{"lock", BCLog::LOCK},
#endif
{"util", BCLog::UTIL},
{"blockstorage", BCLog::BLOCKSTORAGE},
{"txreconciliation", BCLog::TXRECONCILIATION},
{"scan", BCLog::SCAN},
Expand Down
9 changes: 4 additions & 5 deletions src/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ namespace BCLog {
#ifdef DEBUG_LOCKCONTENTION
LOCK = (1 << 24),
#endif
UTIL = (1 << 25),
BLOCKSTORAGE = (1 << 26),
TXRECONCILIATION = (1 << 27),
SCAN = (1 << 28),
TXPACKAGES = (1 << 29),
BLOCKSTORAGE = (1 << 25),
TXRECONCILIATION = (1 << 26),
SCAN = (1 << 27),
TXPACKAGES = (1 << 28),
ALL = ~(uint32_t)0,
};
enum class Level {
Expand Down

0 comments on commit b0344c2

Please sign in to comment.