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

Re: [libvirt-users] libvirt printing to stderr



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



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