[0.4.7][EVTLIB] Silence some DPRINTs.

picked from 0.4.9-dev-726-g 10ed9621e4
This commit is contained in:
Joachim Henze 2020-12-21 10:44:24 +01:00
parent 42c7efd2ff
commit a867fe15ae

View file

@ -828,7 +828,7 @@ Continue:
if (LogFile->Header.MaxSize - NextOffset.QuadPart < sizeof(EVENTLOGRECORD))
{
/* Wrap to the beginning of the log */
DPRINT1("Wrap!\n");
DPRINT("Wrap!\n");
NextOffset.QuadPart = sizeof(EVENTLOGHEADER);
}
@ -838,7 +838,7 @@ Continue:
*/
if (FileOffset.QuadPart > NextOffset.QuadPart)
{
DPRINT1("Wrapping = TRUE;\n");
DPRINT("Wrapping = TRUE;\n");
Wrapping = TRUE;
}
@ -1474,10 +1474,10 @@ ElfWriteRecord(
LogFile->Header.EndOffset = WriteOffset;
}
DPRINT1("MaxSize = 0x%x, StartOffset = 0x%x, WriteOffset = 0x%x, EndOffset = 0x%x, BufSize = 0x%x\n"
"OldestRecordNumber = %d\n",
LogFile->Header.MaxSize, LogFile->Header.StartOffset, WriteOffset, LogFile->Header.EndOffset, BufSize,
OldestRecordNumber);
EVTLTRACE("MaxSize = 0x%x, StartOffset = 0x%x, WriteOffset = 0x%x, EndOffset = 0x%x, BufSize = 0x%x\n"
"OldestRecordNumber = %d\n",
LogFile->Header.MaxSize, LogFile->Header.StartOffset, WriteOffset, LogFile->Header.EndOffset, BufSize,
OldestRecordNumber);
}
/*