ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Pitts" <Daniel.Pi...@cnet.com>
Subject RE: Turning Off Ibatis SQL Mapper info..
Date Wed, 01 Nov 2006 21:48:52 GMT
Turn logging level to WARN?

________________________________

From: Urban, John [mailto:John.Urban@Williams.com] 
Sent: Wednesday, November 01, 2006 12:19 PM
To: user-java@ibatis.apache.org
Subject: Turning Off Ibatis SQL Mapper info..



Cannot figure out how to turn off logging. Not set it conf/log4j.xml of
jboss or WEB-INF/log4j.properties. Is happening under jboss 3.2.6 and
jdk 1.4.2 but not under jboss 3.2.6 and jdk 1.5.0. Exact same jboss
3.2.6 configuration in both cases. Just a different JDK?

 

2006-11-01 11:49:07,584 DEBUG [java.sql.Connection] {conn-100000}
Connection

2006-11-01 11:49:07,626 DEBUG [java.sql.PreparedStatement] {pstm-100001}
PreparedStatement:   ....

 

And It prints out every single records content. This is horrible if I am
returning a view with 30 columns and 1000+ records:

 

2006-11-01 11:49:12,260 DEBUG [java.sql.ResultSet] {rset-100002} Result:
.......


Mime
View raw message