When embedding Felix what is the best way to get hold of the Log
Service?  I have included
org.apache.felix.log-0.9.0-incubator-SNAPSHOT.jar as one of the bundles
to be deployed, and that is happening just fine.  Is the simplest
approach to implement ServiceListener on my embedded felix instance and
then add a listener with a filter of
"(objectClass=org.osgi.service.log.LogService)" and then issue a set or
if it is going away and unbind?

 

Is there anyway to get it right up front so that I have the logger
available out of the gate?  I don't think it is, but I figure it can't
hurt to ask.

 

Thanks in advance.

 

Regards,

Todd

Reply via email to