mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
daemon: Add VIR_ERR_NO_SERVER and VIR_ERR_NO_CLIENT to daemonErrorLogFilter
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@redhat.com>
This commit is contained in:
parent
a3aa2005f8
commit
784b9cc821
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user