[SHIMENG] Change the default loglevel + mute GetProcAddress logging

This commit is contained in:
Mark Jansen 2018-01-15 22:36:07 +01:00
parent 00ed9fc88b
commit abeaf2e9db
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
* PROJECT: ReactOS Application compatibility module
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Shim engine core
* COPYRIGHT: Copyright 2015-2017 Mark Jansen (mark.jansen@reactos.org)
* COPYRIGHT: Copyright 2015-2018 Mark Jansen (mark.jansen@reactos.org)
*/
#define WIN32_NO_STATUS
@ -569,7 +569,7 @@ FARPROC WINAPI StubGetProcAddress(HINSTANCE hModule, LPCSTR lpProcName)
return proc;
}
SHIMENG_MSG("(GetProcAddress(%p!%s) => %p\n", hModule, lpPrintName, proc);
SHIMENG_INFO("(GetProcAddress(%p!%s) => %p\n", hModule, lpPrintName, proc);
HookModuleInfo = SeiFindHookModuleInfo(NULL, hModule);

View file

@ -2,7 +2,7 @@
* PROJECT: ReactOS Shim helper library
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Shim helper functions
* COPYRIGHT: Copyright 2016,2017 Mark Jansen (mark.jansen@reactos.org)
* COPYRIGHT: Copyright 2016-2018 Mark Jansen (mark.jansen@reactos.org)
*/
#define WIN32_NO_STATUS
@ -155,7 +155,7 @@ VOID SeiInitDebugSupport(VOID)
static const UNICODE_STRING DebugKey = RTL_CONSTANT_STRING(L"SHIM_DEBUG_LEVEL");
UNICODE_STRING DebugValue;
NTSTATUS Status;
ULONG NewLevel = 0;
ULONG NewLevel = SEI_MSG;
WCHAR Buffer[40];
RtlInitEmptyUnicodeString(&DebugValue, Buffer, sizeof(Buffer));