Merge pull request #3188 from Diapolo/logtimestamp_def

make -logtimestamps default on and rework help-message
This commit is contained in:
Wladimir J. van der Laan 2013-11-04 06:18:23 -08:00
commit c4f2a002ca

View file

@ -227,7 +227,7 @@ std::string HelpMessage(HelpMessageMode hmm)
{
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 += " -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 "
@ -500,7 +500,7 @@ bool AppInit2(boost::thread_group& threadGroup)
fServer = true;
fPrintToConsole = GetBoolArg("-printtoconsole", false);
fPrintToDebugger = GetBoolArg("-printtodebugger", false);
fLogTimestamps = GetBoolArg("-logtimestamps", false);
fLogTimestamps = GetBoolArg("-logtimestamps", true);
if (mapArgs.count("-timeout"))
{