[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] value of timestamp from API event.from() is always '0'
Hey Tony, I've seen this too. I don't know what the events.from was designed for. I've seen XenCenter using it for a "fast"-sync with the pool, and features some kind of logging (see id=0, class=message). I think you can safely skip all events with id=0 and accept the ts=0 as given :) I handle the pool syncing a little bit different, which is slower, bit a bit more straight forward: 1. event.register(*) 2. foreach($obj_types as $type) $type.get_all() 3. while($running) event.next() Greetings Uli Stärk -----Ursprüngliche Nachricht----- Von: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] Im Auftrag von tony_caotong@xxxxxxx Gesendet: Mittwoch, 16. September 2015 04:39 An: xen-users@xxxxxxxxxxxxx; xen-api@xxxxxxxxxxxxx Betreff: [Xen-API] value of timestamp from API event.from() is always '0' Hi all, My xenserver version is 6.2 When I fetch logs from API function event.from(), the value of each timestamp field is always '0.' . Instead of event.next(), it is fine. Could anyone give me some advices ? -- ----------- Cao Tong _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |