Hello,

I have to use java.util.logging, for logging in my application. Log4j works
fine, but has to be replaced.

I am configuring logging like this: 
http://openjpa.apache.org/builds/1.1.0/docs/ref_guide_logging_commons.html
http://openjpa.apache.org/builds/1.1.0/docs/ref_guide_logging_commons.html 

I have a Dynamic Web Project in Eclipse. I am deploying on Tomcat Server 7.
I put the logging.properties file in the /src directory, like I did with the
log4.properties file.

But how do I load the logging.properties file, so that openJPA can log
immediately after application launch?
Log4J loads properties automatically. But here it does not work.

The logging property in my persistence.xml looks like this: <property
name="openjpa.Log" value="commons"/>
The commons-logging.jar is in my lib path.

How to activate logging?

Thank you in advance!

--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Load-logging-properties-of-java-util-logging-for-openJPA-logging-tp7580310.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to