John E. Conlon wrote:
...
Like Rob, did a simple bundlizing of an existing logging framework, but
one based on SLF4J. (Enrique has also done a similar logging bundle in
ApacheDS.) I included the adapter that maps the apache commons logging
to SLF4J. To this like Rob, added an OSGi logging service (adapted to
SLF4J). As mentioned SLF4J sits on top of a underlying logging stack,
for this bundle used the NLOG4J native SLF4J logging stack which is
configured similarly to log4j. One neat OSGi feature that was added was
a simple activator that reread the configuration file on startup, thus
allowing a rereading the config without shutting down the framework.
...
We took SLF4J, wrapped it with the Felix M2 Plugin, and exported a
handful of packages. John contributed the Activator to re-read the
config. Since ApacheDS uses SLF4J this fits right in. Re-loading
config is really convenient.
...
Looking forward to the opening of a Felix commons area for consolidating
these different implementations.
...
I agree and can move over our reusable SLF4J bundle.
Enrique