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

Re: [PATCH 3/3] Disable CONS debug logging


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Mon, 19 Jul 2021 08:26:48 +0100
  • Delivery-date: Mon, 19 Jul 2021 07:26:52 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 15/07/2021 14:15, Martin Harvey wrote:
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>

Acked-by: Paul Durrant <paul@xxxxxxx>

---
  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(





 


Rackspace

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