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

Re: [libvirt] [PATCH 3/3] Filter out certain expected error messages from libvirtd



On 01/21/2011 10:30 AM, Daniel P. Berrange wrote:
> Add a hook to the error reporting APIs to allow specific
> error messages to be filtered out. Wire up libvirtd to
> remove VIR_ERR_NO_DOMAIN & similar error codes from the
> logs. THey are still logged at DEBUG level.

s/THey/They/

> 
> * daemon/libvirtd.c: Filter VIR_ERR_NO_DOMAIN and friends
> * src/libvirt_private.syms, src/util/virterror.c,
>   src/util/virterror_internal.h: Hook for changing error
>   reporting level
> ---
>  daemon/libvirtd.c             |   25 +++++++++++++++++++++++++
>  src/libvirt_private.syms      |    1 +
>  src/util/virterror.c          |   26 ++++++++++++++++++--------
>  src/util/virterror_internal.h |    3 +++
>  4 files changed, 47 insertions(+), 8 deletions(-)

ACK, looks like a reasonable compromise over the full pollution vs. too
little information.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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