I am running OpenJPA in JBoss and would like it's trace and logging to
go to the JBoss log, rather then standard error, which JBoss captures
and then redirects to the log at priority "ERROR", causing many
false-positive errors for tools that search the log.
Here are my current settings:
<property name="openjpa.ConnectionFactoryProperties"
value="QueryTimeout=50000, printParameters=true,
PrettyPrint=true, PrettyPrintLineLength=72"/>
<property name="openjpa.Log" value="openjpa.jdbc.MetaData=TRACE"/>
<property name="openjpa.Log" value="openjpa.jdbc.JDBC=TRACE"/>
<property name="openjpa.Log" value="slf4j"/>
<property name="openjpa.Log" value="SQL=TRACE"/>
Thanks,
Chris
|