aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-09-04 09:10:47 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-09-04 09:10:47 -0700
commit38e8f282d29239ae1c98f04afe2a57cf37ae5a14 (patch)
tree046831518ebd96ea593776514b095e540dfbe0da
parent2fd6f067dbc1cb7cdc812e8c0a7ac2128318e72e (diff)
parent016178132ebd001fa4ebb01aa845204c77e35e5c (diff)
Merge pull request #1427 from rebroad/StartTimeFix
No need to log start time if it's already being done on every line.
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 0a28312af5..6555f65a46 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -470,6 +470,8 @@ bool AppInit2()
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;