ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oci <zarbi...@hotmail.com>
Subject Ibatis + Spring : log4j does not work
Date Tue, 23 Dec 2008 10:51:23 GMT


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.

View raw message