<div dir="ltr"><div><div><div>Hi,<br><br><span>When I register a callback for events with this function call:</span><br><span>eh = guestfs_set_event_callback(g, message_callback, GUESTFS_EVENT_ALL, 0, dev);</span><br><br><span>Shouldnt it capture and redirect messages like this to message_callback():</span><br>
<span>"libguestfs: error: lstat: /.Trash: No such file or directory"<br><br></span></div><span>I still get them in stderr ..<br><br></span></div><span>Thanks,<br><br></span></div><span>Or<br></span></div>