felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Haidinyak" <javam...@cox.net>
Subject Re: Log4j
Date Thu, 05 Mar 2009 15:15:19 GMT
Thanks,

-Pete

On Thu, 05 Mar 2009 01:43:47 -0800, Alin Dreghiciu <adreghiciu@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 <javamann@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-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>




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


Mime
View raw message