]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Change coinstaller log level to TXTLOG_WARNING
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 22 Oct 2015 13:48:46 +0000 (14:48 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 3 Nov 2015 14:29:30 +0000 (14:29 +0000)
Windows 10 does not enable logging of TXTLOG_DETAILS in setupapi.dev.log by
default, so use TXTLOG_WARNING to make sure the messages appear.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/coinst/coinst.c

index 5cdd060baef9320952c186ffb5bda78a42f4a9ca..75d3f2809091957bc93050e05158419eb15aeda2 100644 (file)
@@ -84,7 +84,7 @@ __Log(
 
     LogToken = SetupGetThreadLogToken();
     Category = TXTLOG_VENDOR;
-    Flags = TXTLOG_DETAILS;
+    Flags = TXTLOG_WARNING;
 
     SetupWriteTextLog(LogToken, Category, Flags, Buffer);
     Length = __min(MAXIMUM_BUFFER_SIZE - 1, Length + 2);