Apache Sling Commons Log

Clone this repo:
  1. d887014 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 9 weeks ago master
  2. 7f83762 [maven-release-plugin] prepare for next development iteration by Carsten Ziegeler · 12 months ago
  3. b0fcf17 [maven-release-plugin] prepare release org.apache.sling.commons.log-5.4.2 by Carsten Ziegeler · 12 months ago org.apache.sling.commons.log-5.4.2
  4. 6b1e837 SLING-11393 : Escape characters in log entries by Carsten Ziegeler · 12 months ago
  5. ad179db [maven-release-plugin] prepare for next development iteration by Carsten Ziegeler · 1 year, 5 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc 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.