Apache Sling Commons Log

Clone this repo:
  1. 9ad9846 [maven-release-plugin] prepare for next development iteration by Roy Teeuwen · 3 days ago master
  2. 750fd48 [maven-release-plugin] prepare release org.apache.sling.commons.log-6.2.0 by Roy Teeuwen · 3 days ago org.apache.sling.commons.log-6.2.0
  3. c23ff05 Fix flaky SlingStatusPrinterTest by sampling msgSince before adding the status by Roy Teeuwen · 3 days ago
  4. c0ddda6 Merge pull request #33 from apache/logstore-extensions by Roy Teeuwen · 3 days ago
  5. ba21360 Address review: keep package API backwards compatible and harden listener API by Roy Teeuwen · 9 days 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” module provides some useful extension to the default Logback feature set to enable better integration with OSGi.

Installation

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