Browse Source

Merge pull request #3188 from Diapolo/logtimestamp_def

make -logtimestamps default on and rework help-message
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
c4f2a002ca
  1. 4
      src/init.cpp

4
src/init.cpp

@ -227,7 +227,7 @@ std::string HelpMessage(HelpMessageMode hmm)
{ {
strUsage += ".\n"; strUsage += ".\n";
} }
strUsage += " -logtimestamps " + _("Prepend debug output with timestamp") + "\n"; strUsage += " -logtimestamps " + _("Prepend debug output with timestamp (default: 1)") + "\n";
strUsage += " -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n"; strUsage += " -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n";
strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n"; strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n";
strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be " strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be "
@ -500,7 +500,7 @@ bool AppInit2(boost::thread_group& threadGroup)
fServer = true; fServer = true;
fPrintToConsole = GetBoolArg("-printtoconsole", false); fPrintToConsole = GetBoolArg("-printtoconsole", false);
fPrintToDebugger = GetBoolArg("-printtodebugger", false); fPrintToDebugger = GetBoolArg("-printtodebugger", false);
fLogTimestamps = GetBoolArg("-logtimestamps", false); fLogTimestamps = GetBoolArg("-logtimestamps", true);
if (mapArgs.count("-timeout")) if (mapArgs.count("-timeout"))
{ {

Loading…
Cancel
Save