[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/3] Disable CONS debug logging


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <Martin.Harvey@xxxxxxxxxx>
  • Date: Thu, 15 Jul 2021 14:15:02 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Martin Harvey <Martin.Harvey@xxxxxxxxxx>, Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Delivery-date: Thu, 15 Jul 2021 13:15:36 +0000
  • Ironport-hdrordr: A9a23:HMi4t6u6EZ+udWY7EZwcpktt7skDTNV00zEX/kB9WHVpmszxra GTdZMgpGbJYVcqKQodcL+7Scq9qB/nmqKdpLNhWYtKPzOW3ldATrsSj7cKqgeIc0aVm4JgPO VbAs9D4bXLfCBHZK3BgDVQfexP/DD+ytHMudvj
  • Ironport-sdr: UOaEHPspsx+BaxFzH0v82KJ/Xnw8jdt3KoJnHUhQ+2be5coT7HSLnFWb4i+fT85EQwKnb5iNyj WXXGwgiGXQxR3x0m8+LSqq3fzodJ+Edfozq8EewvT0DE2jLQMTABsduUp2Ry5Ws22ieKdu+ZWt BOTeQf2QH3tiRqXxGG9o+4HF/TAepGzdNJD1J5oRavfwnu9S2f1IvZi58DcAW01D96Iq+kYOQM DbvXX1ajbKt55SaGLmju1y9z9Gz5W+BdfGuZ1V03McPoZ6ndzHd0Vq+AlVbwHUGld7rGpYKhl4 4kQ=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
 src/xenbus/driver.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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(
-- 
2.25.0.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.