The problem is that we can not directly depend on the felix framework
from karaf as we must be able to switch between equinox and felix.
So the karaf starter may not have a direct dependency on felix framework.
So if the log service interface would be in an OSGi spec jar it would be
fine.
Christian
On 24.02.2017 16:33, Karl Pauls wrote:
I guess it would be nice if the launcher api had a simple logger
interface which you could implement and pass into the framework factory.
Then everyone can implement this in any way they want and this would be
portable across framework implementations.
I'm fine with that as well. Basically, just replace the current
reflection calls one-to-one with real methods (which will look like
the OSGi LogService by-and-large).
So karaf and others would just have to wrap their JUL logger with a
simple Felix LogService decorator.
regards,
Karl
Carsten
--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com