]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Disable CONS debug logging
authorMartin Harvey <Martin.Harvey@citrix.com>
Thu, 15 Jul 2021 13:15:02 +0000 (14:15 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 19 Jul 2021 13:20:42 +0000 (14:20 +0100)
In some cases, third party antivirus products may send many
PnP query IRP's down the stack. This tends to fill the logfiles up
with unnecessary repeated lines, making debugging of other
failures difficult.

Previous loglevel was (INFO|WARNING|ERROR|CRITICAL)

Signed-Off-By: Martin Harvey <martin.harvey@citrix.com>
src/xenbus/driver.c

index 067bb684f243609533686d9bd86396aece0c286b..e07de5558d70267a8edcad1a30be975c08cfb378 100644 (file)
@@ -58,10 +58,7 @@ typedef struct _XENBUS_DRIVER {
 static XENBUS_DRIVER    Driver;
 
 #define XENBUS_DRIVER_TAG   'VIRD'
-#define DEFAULT_CONSOLE_LOG_LEVEL   (LOG_LEVEL_INFO |       \
-                                     LOG_LEVEL_WARNING |    \
-                                     LOG_LEVEL_ERROR |      \
-                                     LOG_LEVEL_CRITICAL)
+#define DEFAULT_CONSOLE_LOG_LEVEL   0
 
 static FORCEINLINE PVOID
 __DriverAllocate(