changeset 3454:eac7a09d32ba draft

Merge pull request #1427 from rebroad/StartTimeFix No need to log start time if it's already being done on every line.
author Jeff Garzik <jgarzik@exmulti.com>
date Tue, 04 Sep 2012 09:10:47 -0700
parents 7f6ba3092a67 (current diff) 2f619f790fe2 (diff)
children 9f71ca61014f
files src/init.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -470,6 +470,8 @@
     printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
     printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
     printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
+    if (!fLogTimeStamps)
+        printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
     printf("Default data directory %s\n", GetDefaultDataDir().string().c_str());
     printf("Used data directory %s\n", GetDataDir().string().c_str());
     std::ostringstream strErrors;