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:
Peter Krempa 2015-05-12 13:55:30 +02:00
parent 78e27b5e0a
commit ecc997fd43
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}