cleaned up logging

Former-commit-id: d9614a2a309e17ceab628b2258f78da0b792a5a8
This commit is contained in:
Jeremy Long
2015-07-10 06:13:41 -04:00
parent afe8e343b1
commit 136830ce22

View File

@@ -345,9 +345,8 @@ public final class ConnectionFactory {
rs = cs.executeQuery();
if (rs.next()) {
if (!DB_SCHEMA_VERSION.equals(rs.getString(1))) {
LOGGER.error("Current Schema: " + DB_SCHEMA_VERSION);
LOGGER.error("DB Schema: " + rs.getString(1));
LOGGER.error("-------------------------------------------------------\n\n\n\n\nUpdating from version: " + rs.getString(1) + "\n\n\n\n\n---------------------------------------------------------------------------------");
LOGGER.debug("Current Schema: " + DB_SCHEMA_VERSION);
LOGGER.debug("DB Schema: " + rs.getString(1));
updateSchema(conn, rs.getString(1));
}
} else {