From 41c6b8abc60f90e73ae4ad89b0a922638a61bbea Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Mon, 21 May 2012 23:05:54 +0200 Subject: add client startup time as an entry to debug.log (note: logged time in debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString --- src/init.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/init.cpp') 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; -- cgit v1.2.3