Hello,

  I am trying to create a custom logger. Basically like AsyncAppender,
but one which can be configured from org.ops4j.pax.logging.cfg.

 

  I have created a module where the appender can be configured from
properties.

  I have added the module to startup.properties to ensure it is loaded
before the Pax.

  I can see the pax service module lists my package in the importing
bundles.

  However, the pax cannot load the AsyncAppender claiming
ClassNotFoundException.

 

 I have tried adding the package to the
org.osgi.framework.system.package and org.osgi.framework.bootdelegation
and the module to the lib directory, but this hasn't helped.

 

 I can see others have tried to get AsynAppender working, has anyone
solved this so we can use PAX for configuration?

 

Regards,

  Peter.

Reply via email to