Browse Source

Remove 'T' from debug log timestamps

Space separation between major fields is easier for human eyes and
libs to parse.
0.8
Jeff Garzik 12 years ago committed by Jeff Garzik
parent
commit
393819cde4
  1. 2
      src/util.cpp

2
src/util.cpp

@ -240,7 +240,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...) @@ -240,7 +240,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
// Debug print useful for profiling
if (fLogTimestamps && fStartedNewLine)
fprintf(fileout, "%s ", DateTimeStrFormat("%Y-%m-%dT%H:%M:%S", GetTime()).c_str());
fprintf(fileout, "%s ", DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()).c_str());
if (pszFormat[strlen(pszFormat) - 1] == '\n')
fStartedNewLine = true;
else

Loading…
Cancel
Save