Karl Pauls wrote
>>> Shouldn’t we try to get the specification extended to define a well known 
>>> property for configuration map handed to the FrameworkFactory.newFramework 
>>> method which names some sort of logger ?
>>>
>>> Unfortunately that configuration map is Map<String, String> so the logger 
>>> itself cannot be provided … but maybe some factory class name or so ?
>>>
>>
>> Yepp, something in this direction was my suggestion as well - doesn't
>> work with the map due to String objects,but we could add a new method.
>> I already created an issue for this in the OSGi issue tracker, so we
>> will discuss this in one of our next calls I hope
> 
> Yeah, something like this sounds like the way to go. I was wondering
> if it isn't a possibility to overload the init() method on the system
> bundle to optionally accept a logging object of some kind...
> 
I think that's already too late. You want to have logging starting with
the FrameworkFactory which creates the framework/system bundle.
And I think this should not be part of the normal o.o.framework package,
but rather just be part of o.o.framework.launch

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to