From: Martin Harvey Date: Thu, 15 Jul 2021 13:15:02 +0000 (+0100) Subject: Disable CONS debug logging X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=eb6e42e5183e86f547953e3f4970628ba97ab79f;p=pvdrivers%2Fwin%2Fxenbus.git Disable CONS debug logging 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 --- diff --git a/src/xenbus/driver.c b/src/xenbus/driver.c index 067bb68..e07de55 100644 --- a/src/xenbus/driver.c +++ b/src/xenbus/driver.c @@ -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(