Hi,
At the moment Sling Commons Log bundle consists of the following pieces:
* slf4j API
* log4j-over-slf4j
* jcl-over-slf4j
* JUL Adapter
* OSGi Log Service over slf4j
* Homegrown slf4j implementation
We have encapsulated this bundle in that it is not possible to plug a
different slf4j implementation or plug extensions to slf4j (such as
slf4j-ext).
I propose that we break this bundle apart as follows:
* We directly deploy the slf4j-api, log4j-over-slf4j, and
jcl-over-slf4j bundles. No wrapping needed on our part
* Create a separate bundle of the Log Service over slf4j
implementation
* Keep the remaining pieces (JUL Adapter and slf4j impl)
in the commons.log bundle
In a future/next step we can replace our homegrown slf4j impl with
logback and make sure users/administrators are able to plug-in
additional logback logging backends dynamically.
WDYT ?
Regards
Felix