From ab3485bde25d0fd91d13a80904aaef88ea19f60d Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Sat, 29 Jun 2024 06:49:06 +1000 Subject: [PATCH] Revert "test" This reverts commit 4d7f8ea580c34fc8f6434bd4b2859694102e158b. --- src/init.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 289d9f69bc0e0..c9405153b47be 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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(); } @@ -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.