Add this line in log4j.properties.

log4j.logger.java.sql=DEBUG

2008/12/23 oci <[email protected]>

>
> 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.
>
>

Reply via email to