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
Add this line in log4j.properties.
log4j.logger.java.sql=DEBUG
2008/12/23 oci zarbi...@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
It has no effects :(
Hereafter, my log4j.properties :
# Global logging configuration
log4j.rootLogger=INFO, stdout
# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout