My solutions to some not-so-common problems

Enabling SLF4J logging in EclipseLink

Posted: March 15th, 2010 | Author: | Filed under: Java | Tags: , , , | No Comments »

I’m using EclipseLink as JPA provider in some of my OSGi based projects. Latelly I also switched from Apache Commons Logging to SLF4J (shortly speaking not to be forced to write LOG.isDebugEnabled() in case of debug messages in my code). Then I found out, that EclipseLink is using it’s own logger which can not be configured using standard log4j.xml file.

Read the rest of this entry »