Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/Foundation/Logging"

(Using Log4J)
Line 27: Line 27:
  
 
UNDER CONSTRUCTION
 
UNDER CONSTRUCTION
 +
 +
The Oracle TopLink forum has an example provided [http://forums.oracle.com/forums/thread.jspa?messageID=478140&#478140]. An EclipseLink version is still required.
  
 
== Using Apache Commons Logging ==
 
== Using Apache Commons Logging ==
  
 
UNDER CONSTRUCTION
 
UNDER CONSTRUCTION

Revision as of 09:51, 17 September 2008

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.

References

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

UNDER CONSTRUCTION

The Oracle TopLink forum has an example provided [1]. An EclipseLink version is still required.

Using Apache Commons Logging

UNDER CONSTRUCTION

Back to the top