|author||Chetan Mehrotra <firstname.lastname@example.org>||Tue Oct 31 19:46:35 2017 +0530|
|committer||Chetan Mehrotra <email@example.com>||Tue Oct 31 19:46:35 2017 +0530|
SLING-3049 - Make Logback Stacktrace Packaging data support OSGi aware Ensure that bundle info is only provided if there is a single owner of any package. If same package is provided by multiple bundles then no bundle info would be provided
This module is part of the Apache Sling project.
The “log” project packages the Logback library to manage logging in OSGi environment. It provide some useful extension to the default Logback feature set to enable better integration with OSGi. The SLF4j API bundle must be installed along with this bundle to provide full SLF4J logging support.
The Logging bundle should be installed as one of the first modules in the OSGi framework and - provided the framework supports start levels - be set to start at start level 1. This ensures the Logging bundle is loaded as early as possible thus providing services to the framework and preparing logging.
For more details refer to the Logging Documentation
You can compile and package the jar using the following command:
mvn package -Pide,coverage
It would build the module and also produce a test coverage report also prepare bundle jar which is suitable to be used to run integration test from within IDE.