Jump to: navigation, search


< EclipseLink‎ | Examples‎ | Foundation
Revision as of 11:13, 15 September 2008 by Michael.obrien.oracle.com (Talk | contribs) (How do I integrate with a third party logging framework)

How do I integrate with a third party logging framework

EclipseLink's default logging is based on Java (1.4 an higher) java.util.logging but is also extensible to allow other logging frameworks to be used.

This how-to example will illustrate how other logging solutions such as Log4J and Apache common logging can be easily used with EclipseLink.


How to configure a custom logger in JPA

Logging Extension Basics

Customizing EclipseLink to use another logging framework or integrate with an existing logging infrastructure involves:

  1. Implementing your own SessionLog
  2. Configuring the use of your SessionLog

Using Log4J


Using Apache Commons Logging