I tried to force PCEnhancer to start logging using log4j facilities. But had
some problems. Here is my command line looks:

-Dlog4j.appender.console=org.apache.log4j.ConsoleAppender
-Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance=TRACE -classpath
/home/webautomator/openjpa-all-2.0.0-beta3.jar:${workspace_loc:/openJPA/src}:${workspace_loc:/openJPA/bin}:/usr/share/java/log4j-1.2.15.jar
org.apache.openjpa.enhance.PCEnhancer -directory
${workspace_loc:/openJPA/bin} User Phone Address ContactInfo

but had the following error:

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

Please help anyone. John

Reply via email to