Pax Logging

The logging support in the standard Log Service of the OSGi specification is minimalistic and not entirely suitable for enterprise applications. This project tries to address this by extending the standard interface with additional interfaces and using a strong logging backend, the Apache Log4J. Pax Logging defines its own API, but more importantly it supports the Log4J and Jakarta Commons Logging APIs as well, making it easy to create bundles that use these common APIs, either directly in new code or indirectly from inside 3rd party libraries.

Features

  • Log4J driving the backend implementation.
  • Log4J API supported.
  • Jakarta Commons Logging API supported.
  • Pax Logging Service implements the standard OSGi Log Service API.
  • JDK Logging API support.
  • Avalon Logger API support.
  • SLF4J API support.
  • Knopflerfish Log service support.
  • Tomcat Juli API support.

Latest News

Last changed Aug 03, 2009 12:13 by Niclas Hedhman
Labels: ops4j, pax, news, releases, pax-logging

Pax Logging version 1.4.0 was released today, August 3 2009. This is a fairly minor release, with only minor improvements and bug fixes. See details.

Posted at Aug 03, 2009 by Niclas Hedhman | 0 comments
Last changed Jul 15, 2009 11:52 by Alin Dreghiciu
Labels: ops4j, news, blog, pax-logging, pax-confman

Patrick Paulin (developer and trainer specializing in modular technologies such as OSGi and the Eclipse Rich Client Platform) has blogged about using Pax Logging and Pax ConfMan in a tutorial like style:

Logging RCP applications with Pax Logging

Adding logging to an RCP application has always been painful. Developers have struggled with the best way to incorporate Log4J and other logging APIs, and in particular with how to make configuration files accessible. Some have chosen to use buddy classloading, others have utilized fragments containing the config files.
I'm happy to say that RCP developers now have another choice - Pax Logging.

Read more...

Configuring RCP applications with Pax ConfMan

In this post I'm going to describe how to set up the Configuration Admin service in an RCP application using Pax ConfMan.

Read more...

Posted at Jul 15, 2009 by Alin Dreghiciu | 0 comments
Last changed Jan 13, 2009 14:20 by Alin Dreghiciu
Labels: pax, news, release, logging, pax-logging

Pax Logging 1.3.0 has been released.
This release highlights are:

  • support for MDC style PaxContext With Adjunct Support for log4j and slf4j MDC
  • upgrade to SLF4J latest api (1.5.6)
  • various bug fixes and improvements

Checkout release notes for details.

Posted at Jan 13, 2009 by Alin Dreghiciu | 0 comments

Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Activity
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

Other Features

Add Content

- Add Comment


Click here to sign up for an account!
Clicky Web Analytics