set custom loglevel for external libraries

Jim Fehlig jfehlig at suse.com
Fri Jul 23 22:26:10 UTC 2021


On 7/22/21 11:28 AM, Olaf Hering wrote:
> Am Thu, 22 Jul 2021 17:17:11 +0200
> schrieb Olaf Hering <olaf at aepfle.de>:
> 
>> xc_private.h uses XTL_INFO, XTL_DETAIL, XTL_DEBUG and XTL_ERROR in the wrappers.
> 
> I wonder if the code should map VIR_LOG_INFO to XTL_DETAIL to enable DPRINTF.

Does the output of DPRINTF pass the "info" smell test? :-) Or is it only useful 
for debugging? INFO vs DEBUG can be a bit gray IMO, but reviewing the use of 
VIR_INFO vs VIR_DEBUG throughout the code might help decide what side of the 
fence DPRINTF lies.

Jim




More information about the libvir-list mailing list