Merge pull request #1427 from rebroad/StartTimeFix
No need to log start time if it's already being done on every line.
This commit is contained in:
commit
38e8f282d2
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@ bool AppInit2()
|
||||||
printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
|
printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
|
||||||
printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
|
printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
|
||||||
printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
|
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("Default data directory %s\n", GetDefaultDataDir().string().c_str());
|
||||||
printf("Used data directory %s\n", GetDataDir().string().c_str());
|
printf("Used data directory %s\n", GetDataDir().string().c_str());
|
||||||
std::ostringstream strErrors;
|
std::ostringstream strErrors;
|
||||||
|
|
Loading…
Reference in a new issue