[PATCH] daemon: Add VIR_ERR_NO_SERVER and VIR_ERR_NO_CLIENT to daemonErrorLogFilter

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

 



Commits 52a2eef9 and 62be5486 forgot to add these errors to daemon's error
whitelist, i.e. in order to avoid log file pollution with errors like "Domain
not found" or "Server not found" in this case, since these events are valid
and expected to occur.

Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
---
Pushed under trivial rule.

 daemon/libvirtd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index f0fdaed..cc5190f 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -333,6 +333,8 @@ static int daemonErrorLogFilter(virErrorPtr err, int priority)
     case VIR_ERR_NO_DOMAIN_SNAPSHOT:
     case VIR_ERR_OPERATION_INVALID:
     case VIR_ERR_NO_DOMAIN_METADATA:
+    case VIR_ERR_NO_SERVER:
+    case VIR_ERR_NO_CLIENT:
         return VIR_LOG_DEBUG;
     }
 
-- 
2.4.11

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]