From 63a2874cecb4ff714256b4c412fb0125bfaad5a9 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sat, 9 Dec 2017 07:51:06 -0500 Subject: [PATCH] updated logging levels to reduce spamming the console --- .../java/org/owasp/dependencycheck/data/nvdcve/CveDB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java index eb69ddd1b..f7b9b9e49 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java @@ -732,7 +732,7 @@ public final class CveDB implements AutoCloseable { if (countReferences % getBatchSize() == 0) { insertReference.executeBatch(); insertReference = getPreparedStatement(INSERT_REFERENCE); - LOGGER.info(getLogForBatchInserts(countReferences, "Completed %s batch inserts to references table: %s")); + LOGGER.trace(getLogForBatchInserts(countReferences, "Completed %s batch inserts to references table: %s")); countReferences = 0; } else if (countReferences == vuln.getReferences().size()) { if (LOGGER.isTraceEnabled()) { @@ -789,7 +789,7 @@ public final class CveDB implements AutoCloseable { if (countSoftware % getBatchSize() == 0) { executeBatch(vuln, vulnerableSoftware, insertSoftware); insertSoftware = getPreparedStatement(INSERT_SOFTWARE); - LOGGER.info(getLogForBatchInserts(countSoftware, "Completed %s batch inserts software table: %s")); + LOGGER.trace(getLogForBatchInserts(countSoftware, "Completed %s batch inserts software table: %s")); countSoftware = 0; } else if (countSoftware == vuln.getVulnerableSoftware().size()) { if (LOGGER.isTraceEnabled()) {