openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <hwellmann...@gmail.com>
Subject Re: Is there any way to get OpenJPA to not log to stderr?
Date Thu, 26 Sep 2013 14:17:41 GMT
Does your application include slf4j-api.jar?

Regards,
Harald

2013/9/26 Chris <cwolf.algo@gmail.com>:
> 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