[Libguestfs] Redirecting libguestfs error messages

Or Goshen oberonc at gmail.com
Wed Jul 17 13:43:34 UTC 2013


Hi,

When I register a callback for events with this function call:
eh = guestfs_set_event_callback(g, message_callback, GUESTFS_EVENT_ALL, 0,
dev);

Shouldnt it capture and redirect messages like this to message_callback():
"libguestfs: error: lstat: /.Trash: No such file or directory"

I still get them in stderr ..

Thanks,

Or
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20130717/3e384bae/attachment.htm>


More information about the Libguestfs mailing list