Browse Source

Merge pull request #1422 from Diapolo/add_used_datadir_debug_log

add used datadir to debug.log
miguelfreitas
Gavin Andresen 13 years ago
parent
commit
45268208ae
  1. 1
      src/init.cpp

1
src/init.cpp

@ -425,6 +425,7 @@ 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("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());
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());
std::ostringstream strErrors; std::ostringstream strErrors;
if (fDaemon) if (fDaemon)

Loading…
Cancel
Save