Thanks,

-Pete

On Thu, 05 Mar 2009 01:43:47 -0800, Alin Dreghiciu <adreghi...@gmail.com> wrote:

If you are embedding Felix into an app that already uses Log4J I
suppose that log4j packages are already in the classpath so accessible
by the classloader that is used when creating/using Felix. In this
case the only thing you should do, in my view, is to add log4j
packages to the property org.osgi.framework.system.packages.extra, so
those packages will be exported by system bundle from the other class
space.

On Thu, Mar 5, 2009 at 9:53 AM, Pete Haidinyak <javam...@cox.net> wrote:
Howdy,
       I am creating an application that uses an embedded Felix. The
application outside of Felix uses Log4j for logging and I want to use Log4j in the bundles deployed in Felix. My question is can I add the log4j jar on the Classpath for my application and then load a log4j bundle for Felix to use and they are both separate? Will I run into any problems doing this and
is there a better way?

Thanks

-Pete


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

  • Log4j Pete Haidinyak
    • Re: Log4j Alin Dreghiciu
      • Re: Log4j Pete Haidinyak

Reply via email to