Skip to content
An EclipseLink SessionLog implementation for logging messages through SLF4J.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


An EclipseLink SessionLog implementation for logging messages through SLF4J.


EclipseLink is a recognized Java persistence framework and the reference implementation for JPA 2.0.

SLF4J is a recognized Java logging API and a framework for bridging different Java logging systems in one application if necessary.

EclipseLink makes use of its own logging platform and has a built-in bridge to java.util.logging system. It is possible to arrange logging from EclipseLink via SLF4J using jul-to-slf4j bridge, but this solution is known to be CPU expensive (see the bridge description).

This project allows direct logging from EclipseLink via SLF4J with necessary precautions taken regarding performance and is implemented after EclipseLink JavaLog.

Other implementations for the same task are also known:


Both pom.xml for Maven and build.xml for Ant are available. Ant buildfile automatically labels every build with current date. Maven builds are labeled with project version from the .pom file, but a warning is issued if this version does not match current date. Artifact/build versions are currently formatted like "YYYYMMDD" rather than "v1.0", as no distinct versioning policy has evolved so far.

Usage – HOW-TO

<property name="eclipselink.logging.logger" value="usn.eclipse.persistence.logging.SLF4JLog" />


The project is issued and distributed under the following licenses as per the original license model by EclipseLink:


The following distribution types are available:

  • plain JAR:
    • usn-eclipselink-slf4j-YYYYMMDD.jar
  • Maven style javadoc and sources JARs:
    • usn-eclipselink-slf4j-YYYYMMDD-javadoc.jar
    • usn-eclipselink-slf4j-YYYYMMDD-sources.jar
  • full distribution that contains everything:
    • usn-eclipselink-slf4j-YYYYMMDD-full.jar

The latest release can be found here.


  • make the Maven artifact for the project available from some public repository.
You can’t perform that action at this time.