iBATIS logs to the java.sql objects - so all the java.sql logging entries you see are actually iBATIS entries - NOT standard java.sql entries. This is a <sarcasm>feature</sarcasm> of iBATIS and will not be available in other environments.
Many JDBC drivers can be configured to do logging, or you can use p6spy, in other environments. Jeff Butler On Nov 30, 2007 3:33 PM, Warren <[EMAIL PROTECTED]> wrote: > I have an app that uses Ibatis and log4j to log Ibatis and java.sql. It > logs > perfectly. I have another app that does not use Ibatis and I can not get > log4j to log java.sql. I know that logging is working and log4j has > initialized logging for java.sql. > > Is Ibatis working with java.sql somehow so that log4j can log SQL > statements, or should you be able to log SQL statement and java.sqlwithout > Ibatis? > > Thanks, > > Warren > >
