mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
log: Remove function name from init logs
It is redundant with -logsourcelocations and the log messages are clearer without it. Also, remove a double-space. Also, add braces around `if` touched in the next commit. This tiny behavior change requires a test fixup.
This commit is contained in:
@@ -114,8 +114,9 @@ bool StartLogging(const ArgsManager& args)
|
||||
fs::PathToString(LogInstance().m_file_path))));
|
||||
}
|
||||
|
||||
if (!LogInstance().m_log_timestamps)
|
||||
if (!LogInstance().m_log_timestamps) {
|
||||
LogPrintf("Startup time: %s\n", FormatISO8601DateTime(GetTime()));
|
||||
}
|
||||
LogPrintf("Default data directory %s\n", fs::PathToString(GetDefaultDataDir()));
|
||||
LogPrintf("Using data directory %s\n", fs::PathToString(gArgs.GetDataDirNet()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user