[SHIMENG] Change the default loglevel + mute GetProcAddress logging
authorMark Jansen <mark.jansen@reactos.org>
Mon, 15 Jan 2018 21:36:07 +0000 (22:36 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sun, 21 Jan 2018 20:13:08 +0000 (21:13 +0100)
dll/appcompat/apphelp/shimeng.c
dll/appcompat/shims/shimlib/shimlib.c

index 0d95d61..20f125a 100644 (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);
 
index ec528d2..54d6479 100644 (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));