mirror of https://gitee.com/openkylin/libvirt.git
daemon: Suppress logging of VIR_ERR_NO_DOMAIN_METADATA
Similarly to other error codes that notify the user that the object does not exist lower the priority of VIR_ERR_NO_DOMAIN_METADATA to VIR_LOG_DEBUG when writing the log entry.
This commit is contained in:
parent
78e27b5e0a
commit
ecc997fd43
|
@ -320,6 +320,7 @@ static int daemonErrorLogFilter(virErrorPtr err, int priority)
|
|||
case VIR_ERR_NO_SECRET:
|
||||
case VIR_ERR_NO_DOMAIN_SNAPSHOT:
|
||||
case VIR_ERR_OPERATION_INVALID:
|
||||
case VIR_ERR_NO_DOMAIN_METADATA:
|
||||
return VIR_LOG_DEBUG;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue