mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Merge pull request #1396 from rebroad/NoShrinkOption
Make truncating the debug.log file an option.
This commit is contained in:
commit
b5029b87c8
@ -264,6 +264,7 @@ std::string HelpMessage()
|
||||
" -debug " + _("Output extra debugging information. Implies all other -debug* options") + "\n" +
|
||||
" -debugnet " + _("Output extra network debugging information") + "\n" +
|
||||
" -logtimestamps " + _("Prepend debug output with timestamp") + "\n" +
|
||||
" -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n" +
|
||||
" -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n" +
|
||||
#ifdef WIN32
|
||||
" -printtodebugger " + _("Send trace/debug info to debugger") + "\n" +
|
||||
@ -450,7 +451,7 @@ bool AppInit2()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!fDebug)
|
||||
if (GetBoolArg("-shrinkdebugfile", !fDebug))
|
||||
ShrinkDebugFile();
|
||||
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
|
||||
printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user