https://git.reactos.org/?p=reactos.git;a=commitdiff;h=abeaf2e9dbc3b0891e790f...
commit abeaf2e9dbc3b0891e790f868c521bc1c4d64722 Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Mon Jan 15 22:36:07 2018 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sun Jan 21 21:13:08 2018 +0100
[SHIMENG] Change the default loglevel + mute GetProcAddress logging --- dll/appcompat/apphelp/shimeng.c | 4 ++-- dll/appcompat/shims/shimlib/shimlib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/appcompat/apphelp/shimeng.c b/dll/appcompat/apphelp/shimeng.c index 0d95d61183..20f125a456 100644 --- a/dll/appcompat/apphelp/shimeng.c +++ b/dll/appcompat/apphelp/shimeng.c @@ -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);
diff --git a/dll/appcompat/shims/shimlib/shimlib.c b/dll/appcompat/shims/shimlib/shimlib.c index ec528d2ead..54d64799d1 100644 --- a/dll/appcompat/shims/shimlib/shimlib.c +++ b/dll/appcompat/shims/shimlib/shimlib.c @@ -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));