]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
driver: log missing modules as INFO, not WARN
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 21:09:26 +0000 (17:09 -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
(cherry picked from commit 9a0c7f5f834185db9017c34aabc03ad99cf37bed)

src/driver.c

index db03438ba3619f6f0c9bf4cd59886e314cade992..f926fe4cea9f221769bf18cc5838c5e62f333158 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;
     }