Apache Sling Commons Log

Clone this repo:
  1. 650fc8b Updating badges for org-apache-sling-commons-log by Radu Cotescu · 10 months ago master
  2. 3a24aa8 SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 10 months ago
  3. 7c2ad8c trivial: added license header to *.md files by Radu Cotescu · 1 year, 3 months ago
  4. 539566c SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module by Radu Cotescu · 1 year, 3 months ago
  5. 34320df SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module by Radu Cotescu · 1 year, 3 months ago

Build Status Test Status Maven Central JavaDocs 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.