From 959e62f0c889788e7775d5953668ce0cc5c1fea8 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 30 Oct 2013 11:36:51 +0100 Subject: [PATCH] make -logtimestamps default on and rework help-message --- src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 647b8d52e..e029ad039 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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")) {