log4j.logger.java.sql. Connection = DEBUG log4j.logger.java.sql. Statement = DEBUG log4j.logger.java.sql. PreparedStatement = DEBUG log4j.logger.java.sql. ResultSet = DEBUG