Disable -shrinkdebugfile command

This commit is contained in:
Jack Grigg 2019-09-19 18:05:56 +01:00
parent 87c45fcaeb
commit 5ae7b70ae6
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 3 additions and 3 deletions

View File

@ -483,7 +483,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. "
"This is intended for regression testing tools and app development.");
}
strUsage += HelpMessageOpt("-shrinkdebugfile", _("Shrink debug.log file on client startup (default: 1 when no -debug)"));
// strUsage += HelpMessageOpt("-shrinkdebugfile", _("Shrink debug.log file on client startup (default: 1 when no -debug)"));
strUsage += HelpMessageOpt("-testnet", _("Use the test network"));
strUsage += HelpMessageGroup(_("Node relay options:"));
@ -1191,8 +1191,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
#ifndef WIN32
CreatePidFile(GetPidFile(), getpid());
#endif
if (GetBoolArg("-shrinkdebugfile", !fDebug))
ShrinkDebugFile();
// if (GetBoolArg("-shrinkdebugfile", !fDebug))
// ShrinkDebugFile();
if (fPrintToDebugLog)
OpenDebugLog();