[libvirt-glib 2/5] mainloop: add missing debug message

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

 



All timeout and watch additions/updates/removals are logged except
successful watch updates. This commit adds such a log message.
---
 libvirt-glib/libvirt-glib-event.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libvirt-glib/libvirt-glib-event.c b/libvirt-glib/libvirt-glib-event.c
index f09d6c8..c720c1f 100644
--- a/libvirt-glib/libvirt-glib-event.c
+++ b/libvirt-glib/libvirt-glib-event.c
@@ -219,6 +219,8 @@ gvir_event_handle_update(int watch,
         goto cleanup;
     }
 
+    g_debug("Update handle %p %d %d %d\n", data, watch, data->fd, events);
+
     if (events) {
         GIOCondition cond = 0;
         if (events == data->events)
-- 
1.7.10.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]