aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2022-05-24 19:55:56 +0200
committerlaanwj <126646+laanwj@users.noreply.github.com>2022-05-25 11:26:15 +0200
commitce920713bf0810614c2c0c994511b50d4f660bce (patch)
tree1cd1bf09a2b40dbcc3b8cd961f32467e69b63b0e
parent18ec120bb9e1fc9d27d2419da4c580bd3cde7e86 (diff)
leveldb: Log messages from leveldb with category and debug level
-rw-r--r--src/dbwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp
index 83b59dc56d..89146736ac 100644
--- a/src/dbwrapper.cpp
+++ b/src/dbwrapper.cpp
@@ -63,7 +63,7 @@ public:
assert(p <= limit);
base[std::min(bufsize - 1, (int)(p - base))] = '\0';
- LogPrintf("leveldb: %s", base); /* Continued */
+ LogPrintLevel(BCLog::Level::Debug, BCLog::LEVELDB, "%s", base); /* Continued */
if (base != buffer) {
delete[] base;
}