mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 13:55:23 -05:00
Remove 'T' from debug log timestamps
Space separation between major fields is easier for human eyes and libs to parse.
This commit is contained in:
parent
23826f1b7f
commit
393819cde4
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
|
||||||
|
|
||||||
// Debug print useful for profiling
|
// Debug print useful for profiling
|
||||||
if (fLogTimestamps && fStartedNewLine)
|
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')
|
if (pszFormat[strlen(pszFormat) - 1] == '\n')
|
||||||
fStartedNewLine = true;
|
fStartedNewLine = true;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue