The opening sentence in this section is a bit misleading: "Log events must be delivered to the Event Admin service asynchronously under the topic: ..."
What it should say is something like: "Log events must be delivered *by* the Event Admin service asynchronously under the topic: ..." That is the Event Admin impl should use the LogReaderService to subscribe to the Log and redistrubute log events to EventHandlers listening to the topics org/osgi/service/log/LogEntry/<event type>. 101.6.4 does not imply any behavior to the LogService. It implies behavior to the EventAdmin service when a LogService is present. Rather than collect all of these sections together under the EventAdmin spec, the spec distributed them under the related services like LogService, Config Admin, User Admin, etc. FYI. See the org.eclipse.equinox.event.mapper package in the org.eclipse.equinox.event project. BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 Niclas Hedhman <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 2007-04-09 07:19 Please respond to OSGi Developer Mail List <[email protected]> To OSGi Developer Mail List <[email protected]> cc Subject [osgi-dev] R4 101.6.4 Log Events The specification is not clear what should happen if the EventAdmin is not available. Availability could be temporarily gone (e.g. update) or more permanently missing. Three choices as far as I can tell; 1. Discard all LogEvents. 2. Buffer all LogEvents and deliver when possible. 3. Buffer LogEvents for a while, discard the rest. Any takers on what is the desired functionality in an enterprise setting? Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
