diff --git a/doc/release-notes.md b/doc/release-notes.md --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -12,3 +12,9 @@ - The `getchaintxstats` RPC now returns the additional key of `window_final_block_height`. + +Updated settings +---------------- + +- The `-debug=db` logging category, which was deprecated in 0.22.4 and replaced by + `-debug=walletdb` to distinguish it from `coindb`, has been removed. diff --git a/src/logging.cpp b/src/logging.cpp --- a/src/logging.cpp +++ b/src/logging.cpp @@ -316,14 +316,6 @@ bool BCLog::Logger::EnableCategory(const std::string &str) { BCLog::LogFlags flag; if (!GetLogCategory(flag, str)) { - if (str == "db") { - // DEPRECATION: Added in 0.22.4, should start returning an error in - // a future release - LogPrintf("Warning: logging category 'db' is deprecated, use " - "'walletdb' instead\n"); - EnableCategory(BCLog::WALLETDB); - return true; - } return false; } EnableCategory(flag);