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

Nir Soffer nsoffer at redhat.com
Mon Mar 8 18:14:12 UTC 2021


On Mon, Mar 8, 2021 at 5:14 PM Eric Blake <eblake at redhat.com> wrote:

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

Thanks, will fix this before pushing.


>
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210308/97df648f/attachment.htm>


More information about the Libguestfs mailing list