commit | b1bc1aa1126ac94073c930aa95968a33fac52105 | [log] [tgz] |
---|---|---|
author | Chetan Mehrotra <chetanm@apache.org> | Thu Nov 21 04:42:27 2013 +0000 |
committer | Chetan Mehrotra <chetanm@apache.org> | Thu Nov 21 04:42:27 2013 +0000 |
tree | b3a47253790ae92f9d44aaf2cdd9cad48b2715f8 | |
parent | d0f64ab84ea14cdb893c0eddfbb2fd0064225b81 [diff] |
SLING-3049 - Make Logback Stacktrace Packaging data support OSGi aware Disabling the testcase for now as its failing on CI but passing on local system with different JDK git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1544032 13f79535-47bb-0310-9956-ffa450edef68
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.