Skip to content

Commit 4674610

Browse files
committed
Log env path in BerkeleyEnvironment::Flush
1 parent 6d58a5c commit 4674610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/db.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ void BerkeleyEnvironment::Flush(bool fShutdown)
692692
{
693693
int64_t nStart = GetTimeMillis();
694694
// Flush log data to the actual data file on all files that are not in use
695-
LogPrint(BCLog::DB, "BerkeleyEnvironment::Flush: Flush(%s)%s\n", fShutdown ? "true" : "false", fDbEnvInit ? "" : " database not started");
695+
LogPrint(BCLog::DB, "BerkeleyEnvironment::Flush: [%s] Flush(%s)%s\n", strPath, fShutdown ? "true" : "false", fDbEnvInit ? "" : " database not started");
696696
if (!fDbEnvInit)
697697
return;
698698
{

0 commit comments

Comments
 (0)