[Libguestfs] [PATCH libnbd 2/3] examples: copy-libev.c: Improve debug logs

Eric Blake eblake at redhat.com
Mon Mar 8 15:14:34 UTC 2021


On 3/6/21 3:21 PM, Nir Soffer wrote:
> Us COPY_LIBEV_DEBUG instead of LIBNBD_DEBUG, since libnbd debug output

Use

> is huge and not helpful for debugging the libev integration.
> 
> Add request index, and log the request index in all debug message, to
> make it easier to follow all events on a particular request.
> 
> Log also the time from starting the request until the request was
> completed.
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list