]> xenbits.xensource.com Git - libvirt.git/commitdiff
driver: log missing modules as INFO, not WARN osstest/frozen/xen-4.0-testing osstest/frozen/xen-4.1-testing osstest/frozen/xen-4.2-testing osstest/frozen/xen-4.3-testing
authorJovanka Gulicoska <jovanka.gulicoska@gmail.com>
Thu, 17 Mar 2016 19:02:20 +0000 (20:02 +0100)
committerCole Robinson <crobinso@redhat.com>
Thu, 17 Mar 2016 20:50:05 +0000 (16:50 -0400)
Missing modules is a common expected scenario for most libvirt usage on
RPM distributions like Fedora, so it doesn't really warrant logging at
WARN level. Use INFO instead

https://bugzilla.redhat.com/show_bug.cgi?id=1274849

src/driver.c

index 2985538de3cda980022b011b15c1bb4b478e6440..1514a3bd4d295400e78c0a7d34ad0fc583eb99e0 100644 (file)
@@ -62,7 +62,7 @@ virDriverLoadModule(const char *name)
         return NULL;
 
     if (access(modfile, R_OK) < 0) {
-        VIR_WARN("Module %s not accessible", modfile);
+        VIR_INFO("Module %s not accessible", modfile);
         goto cleanup;
     }