openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <cwolf.a...@gmail.com>
Subject Is there any way to get OpenJPA to not log to stderr?
Date Thu, 26 Sep 2013 14:05:52 GMT
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

Mime
View raw message