diff options
| author | Pieter Wuille <[email protected]> | 2012-05-26 01:55:17 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-05-26 01:55:17 -0700 |
| commit | 1e07068adf86cbcdd22cda657204090707469d7e (patch) | |
| tree | 401167aeae1e7d234deb9456e7491ba4f6fcdb35 /src/init.cpp | |
| parent | Remove newlines from JSON strings (diff) | |
| parent | add client startup time as an entry to debug.log (note: logged time in debug.... (diff) | |
| download | discoin-1e07068adf86cbcdd22cda657204090707469d7e.tar.xz discoin-1e07068adf86cbcdd22cda657204090707469d7e.zip | |
Merge pull request #1370 from Diapolo/add_startuptime_to_log
add client startup time as an entry to debug.log
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index c01dc2708..27a42025e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -414,6 +414,7 @@ bool AppInit2() ShrinkDebugFile(); printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str()); + printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str()); printf("Default data directory %s\n", GetDefaultDataDir().string().c_str()); std::ostringstream strErrors; |