felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: How to set default logger
Date Fri, 06 Sep 2013 12:52:32 GMT
On 9/6/13 08:42 , Roland wrote:
> Hello Felix-experts!
> The org.apache.felix.utils.log.Logger can only be instanciated without using
> the fallbacklogger (stdout,stderr) if a bundle exports the LogService
> interface, isn't it? How can I set felix.log.logger at runtime after calling
> the felix-constructor?
>
> http://felix.apache.org/site/apache-felix-framework-configuration-properties.html
> felix.log.logger - An instance of Logger that the framework uses as its
> default logger. (This property cannot be set in the configuration file since
> it requires an instance; it can only be passed into Felix' constructor
> directly.)

The Felix logger is not intended to come from bundle. We originally 
allowed this and it caused all sorts of concurrency issues since logging 
happens during critical operations.

-> richard

> Thanks and Regards
> Roland
>
>
>
> --
> View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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