Turn logging level to WARN?


From: Urban, John [mailto:[EMAIL PROTECTED]
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: …….

Reply via email to