openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Web developer <webautomat...@gmail.com>
Subject Log4j
Date Sun, 16 May 2010 13:39:22 GMT
I still have trouble with log4j. Here are my arguments:

-Dlog4j.appender.console=org.apache.log4j.ConsoleAppender
-Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance=TRACE

-Dlog4j.appender.console=org.apache.log4j.ConsoleAppender
-Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance.MetaData=TRACE
-Dlog4j.category.openjpa.jdbc.SQL=TRACE
-Dlog4j.category.openjpa.jdbc.SQLDiag=TRACE
-Dlog4j.category.openjpa.jdbc.JDBC=TRACE
-Dlog4j.category.openjpa.jdbc.Schema=TRACE

but got this:

log4j:WARN No appenders could be found for logger (openjpa.Runtime).
log4j:WARN Please initialize the log4j system properly.

Please help anyone. John

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message