ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bostjan Dolenc <bostjan.dol...@marand.si>
Subject Re: CAn SqlMapCleint dump Sql statements to log
Date Wed, 05 Jan 2005 17:50:53 GMT
Keith Hyland wrote:

> Hi,
> I'm new to Ibatis, but I was wondering is it possible to get the 
> SqlMapClient to dump the SQL statements it issues to a log file?
Put this line into log4j.properties: log4j.logger.java.sql=DEBUG. For 
soem weird reason, log4j.logger.java.sql.PreparedStatement=DEBUG (per 
PDF docs) doesn't work for me... I am using SqlMaps version 2.0.7.

Setting rootLogger to DEBUG also works.


View raw message