mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[EVENTLOG]
- Silence some debug prints. This commit bears the "Hermès' seal of approval". svn path=/trunk/; revision=73858
This commit is contained in:
parent
6cea30d6fe
commit
dba6b1c35c
1 changed files with 3 additions and 3 deletions
|
@ -332,7 +332,7 @@ LogfCreate(PLOGFILE* LogFile,
|
|||
NULL,
|
||||
NULL);
|
||||
|
||||
DPRINT1("Going to create or open %wZ\n", FileName);
|
||||
DPRINT("Going to create or open %wZ\n", FileName);
|
||||
Status = NtCreateFile(&pLogFile->FileHandle,
|
||||
Backup ? (GENERIC_READ | SYNCHRONIZE)
|
||||
: (GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE),
|
||||
|
@ -352,7 +352,7 @@ LogfCreate(PLOGFILE* LogFile,
|
|||
}
|
||||
|
||||
CreateNew = (IoStatusBlock.Information == FILE_CREATED);
|
||||
DPRINT1("%wZ %s successfully\n", FileName, CreateNew ? "created" : "opened");
|
||||
DPRINT("%wZ %s successfully\n", FileName, CreateNew ? "created" : "opened");
|
||||
|
||||
/*
|
||||
* Retrieve the log file size and check whether the file is not too large;
|
||||
|
@ -504,7 +504,7 @@ LogfBackupFile(PLOGFILE LogFile,
|
|||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
IO_STATUS_BLOCK IoStatusBlock;
|
||||
|
||||
DPRINT1("LogfBackupFile(%p, %wZ)\n", LogFile, BackupFileName);
|
||||
DPRINT("LogfBackupFile(%p, %wZ)\n", LogFile, BackupFileName);
|
||||
|
||||
/* Lock the log file shared */
|
||||
RtlAcquireResourceShared(&LogFile->Lock, TRUE);
|
||||
|
|
Loading…
Reference in a new issue