mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-04 06:12:07 +01:00
Replace OpenDebugLog() with StartLogging()
StartLogging() is used to mark the start of logging generically, whether using -printtoconsole or -debuglogfile.
This commit is contained in:
committed by
MarcoFalke
parent
8ab4f282c0
commit
412987430c
@@ -1249,10 +1249,10 @@ bool AppInitMain(InitInterfaces& interfaces)
|
||||
// and because this needs to happen before any other debug.log printing
|
||||
LogInstance().ShrinkDebugFile();
|
||||
}
|
||||
if (!LogInstance().OpenDebugLog()) {
|
||||
}
|
||||
if (!LogInstance().StartLogging()) {
|
||||
return InitError(strprintf("Could not open debug log file %s",
|
||||
LogInstance().m_file_path.string()));
|
||||
}
|
||||
}
|
||||
|
||||
if (!LogInstance().m_log_timestamps)
|
||||
|
||||
Reference in New Issue
Block a user