The pax logging documentation is a bit elderly.

My goal is to set up a shell in which bundles that import org.slf4j or
log4j API's are happy, and in which the resulting log messages are
visible (at least) to the felix:log commands. Is there a recipe
somewhere? When I try to add the pax logging service, I get

!ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12 12:29:35.130
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.ops4j.pax.logging.pax-logging-service [30]
  Unresolved requirement: Import-Package: com.ibm.uvm.tools;
resolution:="optional"
  Unresolved requirement: Import-Package: com.sun.jdmk.comm;
resolution:="optional"
  Unresolved requirement: Import-Package: javax.jmdns; resolution:="optional"
  Unresolved requirement: Import-Package: javax.jms;
version="[1.1.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: javax.mail; resolution:="optional"
  Unresolved requirement: Import-Package: javax.mail.internet;
resolution:="optional"
  Unresolved requirement: Import-Package:
org.knopflerfish.service.log; provider="paxlogging";
version="[1.1.0,2.0.0)"

I presume it's the last one that is killing me: why is a knoplerfish
package required?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to