set custom loglevel for external libraries

Olaf Hering olaf at aepfle.de
Thu Jul 22 15:17:11 UTC 2021


Am Thu, 22 Jul 2021 16:07:15 +0100
schrieb Daniel P. Berrangé <berrange at redhat.com>:

> Do we actually need to care about every single level, as opposed to
> just doing a sparse mapping where we squash several xen levels into
> one libvirt level, as the code below shows ?

xc_private.h uses XTL_INFO, XTL_DETAIL, XTL_DEBUG and XTL_ERROR in the wrappers.

I think in the end all of the values can be used once execution enters libxenlight.so.
The code I changed had to map the few libvirt values somehow to the XTL values.


Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210722/3a444750/attachment-0001.sig>


More information about the libvir-list mailing list