O'Reilly logo

OSGi and Apache Felix 3.0 by Walid Joseph Gédéon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The OSGi Log Service

Developers who are used to a logging tool, such as log4j, are compelled to use the same logging setup in an OSGi framework. After overcoming the initial first obstacles relating to codebase separation and resource visibility, the developers succeed in making it work. The result would typically look like the following diagram:

The OSGi Log Service

Such structures would work. However, they usually require a complex configuration to be set up and maintained. A better option is the use of a common logging service.

The OSGi Compendium specifications define a set of Log Service interfaces that are intended to provide a common logging service for an OSGi ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required