Changeset 2448
- Timestamp:
- 11/30/09 22:59:20 (2 years ago)
- Location:
- molgenis/3.3/src/org/molgenis/framework/db/jdbc
- Files:
-
- 2 edited
-
AbstractJDBCMapper.java (modified) (1 diff)
-
JDBCConnectionHelper.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molgenis/3.3/src/org/molgenis/framework/db/jdbc/AbstractJDBCMapper.java
r2437 r2448 556 556 mapMrefs(entities); 557 557 558 //silenced to avoid enormous log size 559 //logger.info(entities.size() + " " + create().getClass().getSimpleName() + " objects found"); 558 logger.debug(entities.size() + " " + create().getClass().getSimpleName() + " objects found"); 560 559 return entities; 561 560 } -
molgenis/3.3/src/org/molgenis/framework/db/jdbc/JDBCConnectionHelper.java
r2437 r2448 131 131 { 132 132 openconnections++; 133 //silenced due to huge log files 134 //logger.info(this + "opened database connection, connectioncount=" + openconnections); 133 logger.debug(this + "opened database connection, connectioncount=" + openconnections); 135 134 connection = source.getConnection(); 136 135 connection.setAutoCommit(true); // restore default … … 154 153 if (inTransaction) 155 154 { 156 //silenced to avoid huuuuge log files157 155 //logger.debug("Didn't close connection: transaction active"); 158 156 } … … 167 165 connection = null; 168 166 openconnections--; 169 //silenced due to ginormous log files 170 //logger.info(this + "closed connection back to pool, connectioncount=" + openconnections); 167 logger.debug(this + "closed connection back to pool, connectioncount=" + openconnections); 171 168 } 172 169 catch (Exception sqle) … … 202 199 if (rules.length > 0) allSql += createWhereSql(null, false, true, rules); 203 200 ResultSet rs = stmt.executeQuery(allSql); 204 //silenced to avoid gigantic log files 205 //logger.debug("executeQuery: " + allSql); 201 logger.debug("executeQuery: " + allSql); 206 202 return rs; 207 203 }
Note: See TracChangeset
for help on using the changeset viewer.