mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +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:
@@ -284,7 +284,7 @@ void Shutdown(NodeContext& node)
|
||||
static Mutex g_shutdown_mutex;
|
||||
TRY_LOCK(g_shutdown_mutex, lock_shutdown);
|
||||
if (!lock_shutdown) return;
|
||||
LogPrintf("%s: In progress...\n", __func__);
|
||||
LogInfo("Shutdown in progress...");
|
||||
Assert(node.args);
|
||||
|
||||
/// Note: Shutdown() must be able to handle cases in which initialization failed part of the way,
|
||||
@@ -395,7 +395,7 @@ void Shutdown(NodeContext& node)
|
||||
|
||||
RemovePidFile(*node.args);
|
||||
|
||||
LogPrintf("%s: done\n", __func__);
|
||||
LogInfo("Shutdown done");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user