Apache Sling Commons Log

Clone this repo:
  1. c7d5ac9 Adding sonarqube badges as per SLING-9682 by Dan Klco · 10 months ago master
  2. b17827a Updating badges for org-apache-sling-commons-log by Radu Cotescu · 10 months ago
  3. 6c8924f [maven-release-plugin] prepare for next development iteration by Robert Munteanu · 1 year ago
  4. 6be99f7 [maven-release-plugin] prepare release org.apache.sling.commons.log-5.1.12 by Robert Munteanu · 1 year ago org.apache.sling.commons.log-5.1.12
  5. a331135 Revert "[maven-release-plugin] prepare for next development iteration" by Robert Munteanu · 1 year 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.