ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc <luc....@gmail.com>
Subject Re: Ibatis + Spring : log4j does not work
Date Tue, 23 Dec 2008 11:11:38 GMT
Add this line in log4j.properties.

log4j.logger.java.sql=DEBUG

2008/12/23 oci <zarbiboy@hotmail.com>

>
> Hello,
>
> I have a problem using log4j with ibatis.
> Log4j works well but i can't see the log for SQL requests and results.
>
> I think i need to add this line LogFactory.selectLog4JLogging(); but i
> don't
> know where i should add it. I am currently using spring framework and i
> don't know where i can put this line so it will be loaded at the
> initialisation of my web application.
> --
> View this message in context:
> http://www.nabble.com/Ibatis-%2B-Spring-%3A-log4j-does-not-work-tp21142261p21142261.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message