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: [email protected]
For additional commands, e-mail: [email protected]



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

Reply via email to