aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2012-06-06 12:30:09 +0100
committerR E Broadley <rebroad+github@gmail.com>2012-09-01 14:24:33 +0100
commit016178132ebd001fa4ebb01aa845204c77e35e5c (patch)
treee09618de9f2a12ba9a732c0df59670447c7f4cae /src/init.cpp
parent90489ae977eb74f0b7e997c8f67683b2c638c6bd (diff)
No need to log start time if it's already being done on every line.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 25756c4e6f..e7b1922dd0 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;