On 9/6/13 10:07 , Roland wrote:
I'm wondering because the framework always writes to sdtout, instead of using the LogService.
I already explained that the framework doesn't use a LogService. It never does. We tried to do so many, many years ago and it was too problematic. The Felix framework Logger utility class still has the code in it to use a log service, but the actual method call to enable that has been commented out for years. The code itself wasn't removed because there was hope we could eventually re-enable it if we ever figured out a better way to do it.
As it stands now, if you don't want the framework to use stdout, you have to pass an instance of the Logger utility into the framework config map.
-> richard
-- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004877.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]

