We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
db
1 parent 1b90a7b commit 4c0c893Copy full SHA for 4c0c893
src/logging.cpp
@@ -95,15 +95,7 @@ void BCLog::Logger::EnableCategory(BCLog::LogFlags flag)
95
bool BCLog::Logger::EnableCategory(const std::string& str)
96
{
97
BCLog::LogFlags flag;
98
- if (!GetLogCategory(flag, str)) {
99
- if (str == "db") {
100
- // DEPRECATION: Added in 0.20, should start returning an error in 0.21
101
- LogPrintf("Warning: logging category 'db' is deprecated, use 'walletdb' instead\n");
102
- EnableCategory(BCLog::WALLETDB);
103
- return true;
104
- }
105
- return false;
106
+ if (!GetLogCategory(flag, str)) return false;
107
EnableCategory(flag);
108
return true;
109
}
0 commit comments