opensecuritycontroller / community

Apache License 2.0
15 stars 42 forks source link

POC works. Design in place. #80

Closed dmitryintel closed 7 years ago

dmitryintel commented 7 years ago

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.