User Tools

Site Tools


openjpa_logging_in_karaf

OpenJPA Logging in Karaf

Add the following property in persistence.xml:

<property name="openjpa.Log" value="slf4j" />

Add the following line to the org.ops4j.pax.logging.cfg:

log4j.logger.openjpa.jdbc.SQL=TRACE

Adjust the log level for the logger to your needs.

openjpa_logging_in_karaf.txt · Last modified: 2015/07/24 12:36 by mihael