[libvirt-users] libvirt printing to stderr

Albert Hopkins marduk at letterboxes.org
Mon Dec 13 13:27:43 UTC 2010


On Mon, 2010-12-13 at 08:47 +0100, Matthias Bolte wrote:
> Albert, libvirt's default error handler prints to stderr, you can
> override it like this:
> 
>     import libvirt
> 
>     def errorHandler(ctx, err):
>         pass
> 
>     libvirt.registerErrorHandler(errorHandler, None)
> 
> Matthias
> 

Oh, thanks (now I that I know where to look i see it in the docs).

Thanks again,
-albert





More information about the libvirt-users mailing list