Skip to content

Commit

Permalink
Revert "test"
Browse files Browse the repository at this point in the history
This reverts commit 4d7f8ea.
  • Loading branch information
ajtowns committed Jun 28, 2024
1 parent 06970b7 commit ab3485b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,16 +820,6 @@ void InitParameterInteraction(ArgsManager& args)
*/
void InitLogging(const ArgsManager& args)
{
for (int i = 0; i < 5000; ++i) {
LogInfo("Log spam, #%d\n", i);
}
LogInfo("Here's an info message...");
LogInfo("...continued\n");
LogWarning("Warning\n");
LogError("Error\n");
LogDebug(BCLog::NET, "net debug\n");
std::this_thread::sleep_for(3s);

init::SetLoggingOptions(args);
init::LogPackageVersion();
}
Expand Down Expand Up @@ -1148,14 +1138,11 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
// Detailed error printed inside CreatePidFile().
return false;
}

if (!init::StartLogging(args)) {
// Detailed error printed inside StartLogging().
return false;
}

LogInfo("STARTED LOGGING\n");

LogPrintf("Using at most %i automatic connections (%i file descriptors available)\n", nMaxConnections, nFD);

// Warn about relative -datadir path.
Expand Down

0 comments on commit ab3485b

Please sign in to comment.