mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-31 06:03:30 +02:00
cleaned up logging
Former-commit-id: d9614a2a309e17ceab628b2258f78da0b792a5a8
This commit is contained in:
@@ -345,9 +345,8 @@ public final class ConnectionFactory {
|
|||||||
rs = cs.executeQuery();
|
rs = cs.executeQuery();
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
if (!DB_SCHEMA_VERSION.equals(rs.getString(1))) {
|
if (!DB_SCHEMA_VERSION.equals(rs.getString(1))) {
|
||||||
LOGGER.error("Current Schema: " + DB_SCHEMA_VERSION);
|
LOGGER.debug("Current Schema: " + DB_SCHEMA_VERSION);
|
||||||
LOGGER.error("DB Schema: " + rs.getString(1));
|
LOGGER.debug("DB Schema: " + rs.getString(1));
|
||||||
LOGGER.error("-------------------------------------------------------\n\n\n\n\nUpdating from version: " + rs.getString(1) + "\n\n\n\n\n---------------------------------------------------------------------------------");
|
|
||||||
updateSchema(conn, rs.getString(1));
|
updateSchema(conn, rs.getString(1));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user