osc-server includes an implementation of slf4j (such as logback or log4j). It uses LogUtil class to configure the logging implementation at startup, just as before. Unlike before, the implementation is registered with OSGi as providing the ILoggerFactory service.
Other bundles need only obtain an implementation of that from OSGi.
An example of how to do that is LogComponent in the ISM plugin.
osc-server includes an implementation of slf4j (such as logback or log4j). It uses LogUtil class to configure the logging implementation at startup, just as before. Unlike before, the implementation is registered with OSGi as providing the ILoggerFactory service.
Other bundles need only obtain an implementation of that from OSGi.
An example of how to do that is LogComponent in the ISM plugin.