ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: CAn SqlMapCleint dump Sql statements to log
Date Wed, 05 Jan 2005 18:19:04 GMT
That is now in the faq:

 http://wiki.apache.org/ibatis/Frequently_20Asked_20Questions

Larry

On Wed, 05 Jan 2005 18:50:53 +0100, Bostjan Dolenc
<bostjan.dolenc@marand.si> wrote:
> 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.
> 
> Regards,
> bd
> 
>

Mime
View raw message