Apache Sling Commons Log

Clone this repo:
  1. 5513a57 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 9 weeks ago master
  2. 37ebb18 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 9 weeks ago
  3. c97c3df SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 9 weeks ago
  4. 6489da8 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 9 weeks ago
  5. c7d5ac9 Adding sonarqube badges as per SLING-9682 by Dan Klco · 1 year, 1 month ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central License

Apache Sling Commons Log

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

Getting Started

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.