For this next step you’ll need someone more familiar with how Karaf adds its 
logging service in the “normal” distribution.

Best Regards,

Tim

> On 22 Feb 2017, at 09:22, Olivier21 <olivier.roz...@netcourrier.com> wrote:
> 
> Tim,
> 
> Thank you for your answer.
> 
> I discovered with the command :
> 
> service:list LogService
> 
> that the bundle OPS4J Pax-Logging provides the log service :
> 
> karaf@root()> service:list LogService
> [org.apache.karaf.log.core.LogService]
> --------------------------------------
> service.bundleid = 37
> service.id = 85
> service.scope = singleton
> Provided by :
> Apache Karaf :: Log :: Core (37)
> Used by:
> Apache Karaf :: Log :: Core (37)
> 
> [org.osgi.service.log.LogService, org.knopflerfish.service.log.LogService,
> org.ops4j.pax.logging.PaxLoggingService, org.osgi.service.cm.ManagedService]
> -------------------------------------------------------------------------------------------------------------------------------------------------------
> service.bundleid = 2
> service.id = 12
> service.pid = org.ops4j.pax.logging
> service.ranking = 1
> service.scope = bundle
> Provided by :
> OPS4J Pax Logging - Service (2)
> Used by:
> Apache Aries JMX Core (17)
> Apache Aries SPI Fly Dynamic Weaving Bundle (55)
> Apache Felix Configuration Admin Service (3)
> Apache Felix Metatype Service (5)
> Apache Karaf :: Log :: Core (37)
> OPS4J Pax Web - Runtime (93)
> OPS4J Pax Logging - API (1)
> 
> karaf@root()>
> 
> 
> How to specify  in pom.xml that pax-logging provides the LogService? 
> 
> Thank you very much for your help.
> 
> Olivier
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/missing-requirement-osgi-service-effective-active-filter-objectClass-org-osgi-service-log-LogService-tp4049593p4049596.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to