aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-11-08 08:15:37 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-11-08 18:45:38 +0100
commit4c1d263d93988ceed53e8f6b5decaf034b68137e (patch)
treee492cab3ca2b4c9252b922a71bc28b5de1a032be /src/logging.cpp
parent6b42b3ba9087225fddb91dd764c42c28d0c42d0f (diff)
downloadbitcoin-4c1d263d93988ceed53e8f6b5decaf034b68137e.tar.xz
scripted-diff: Change `BCLog::DB` to `BCLog::WALLETDB`
-BEGIN VERIFY SCRIPT- git grep -l "BCLog::DB" src | xargs sed -i "s/BCLog::DB/BCLog::WALLETDB/g" sed -i "s/DB =/WALLETDB =/g" src/logging.h -END VERIFY SCRIPT-
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index aece72cf3a..9f6b5ede12 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -99,7 +99,7 @@ bool BCLog::Logger::EnableCategory(const std::string& str)
if (str == "db") {
// DEPRECATION: Added in 0.20, should start returning an error in 0.21
LogPrintf("Warning: logging category 'db' is deprecated, use 'walletdb' instead\n");
- EnableCategory(BCLog::DB);
+ EnableCategory(BCLog::WALLETDB);
return true;
}
return false;
@@ -147,7 +147,7 @@ const CLogCategoryDesc LogCategories[] =
{BCLog::HTTP, "http"},
{BCLog::BENCH, "bench"},
{BCLog::ZMQ, "zmq"},
- {BCLog::DB, "walletdb"},
+ {BCLog::WALLETDB, "walletdb"},
{BCLog::RPC, "rpc"},
{BCLog::ESTIMATEFEE, "estimatefee"},
{BCLog::ADDRMAN, "addrman"},