EclipseLink Logging over SLF4J
Starting with EclipseLink 2.7.0 bugs 296391 and 494612 are fixed which means that EclipseLink now has out of the box support for logging over SLF4J.
You need the following dependency
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.extension</artifactId>
<version>2.7.0</version>
</dependency>
and you need to set the following persistence property
<property name="eclipselink.logging.logger" value="org.eclipse.persistence.logging.slf4j.SLF4JLogger"/>