openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject OpenJPA 2.0.1 - Log4J - OSGI platform
Date Fri, 12 Nov 2010 08:34:48 GMT

I have deployed the following bundle (= jar file) on a OSGI Server (= Apache
Servicemix 4)

mvn:org.apache.openjpa/openjpa/2.0.1

Unfortunately, JPA traces are not added in the servicemix log and only one
WARN message appears on the console. If I try to change the log level of
log4j for openJPA to debug, nothing appears on the console.

Here are the packages imported by jpa for logging

OPS4J Pax Logging - API (3): org.apache.commons.logging; version=1.1.1
OPS4J Pax Logging - API (3): org.apache.commons.logging; version=1.0.4
OPS4J Pax Logging - API (3): org.apache.log4j; version=1.2.15 

Does anybody knows how to solve that ?

Regards,

Charles
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/OpenJPA-2-0-1-Log4J-OSGI-platform-tp5731566p5731566.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message