mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
log: [refactor] Use info level for init logs
This refactor does not change behavior.
This commit is contained in:
@@ -105,7 +105,7 @@ void WalletInit::Construct(NodeContext& node) const
|
||||
{
|
||||
ArgsManager& args = *Assert(node.args);
|
||||
if (args.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) {
|
||||
LogPrintf("Wallet disabled!\n");
|
||||
LogInfo("Wallet disabled!");
|
||||
return;
|
||||
}
|
||||
auto wallet_loader = node.init->makeWalletLoader(*node.chain);
|
||||
|
||||
@@ -50,7 +50,7 @@ bool VerifyWallets(WalletContext& context)
|
||||
args.ForceSetArg("-walletdir", fs::PathToString(canonical_wallet_dir));
|
||||
}
|
||||
|
||||
LogPrintf("Using wallet directory %s\n", fs::PathToString(GetWalletDir()));
|
||||
LogInfo("Using wallet directory %s", fs::PathToString(GetWalletDir()));
|
||||
|
||||
chain.initMessage(_("Verifying wallet(s)…"));
|
||||
|
||||
|
||||
@@ -116,8 +116,8 @@ SQLiteDatabase::SQLiteDatabase(const fs::path& dir_path, const fs::path& file_pa
|
||||
{
|
||||
{
|
||||
LOCK(g_sqlite_mutex);
|
||||
LogPrintf("Using SQLite Version %s\n", SQLiteDatabaseVersion());
|
||||
LogPrintf("Using wallet %s\n", fs::PathToString(m_dir_path));
|
||||
LogInfo("Using SQLite Version %s", SQLiteDatabaseVersion());
|
||||
LogInfo("Using wallet %s", fs::PathToString(m_dir_path));
|
||||
|
||||
if (++g_sqlite_count == 1) {
|
||||
// Setup logging
|
||||
|
||||
Reference in New Issue
Block a user