From efeb0a2f8c0afe9b75477a3a338359495545912e Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 13 Nov 2024 07:47:13 -0500 Subject: [PATCH] fix: do not log loading of JDBC driver resolves #7118 --- .../org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java b/core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java index b067cc93891..e0c40828fd4 100644 --- a/core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java +++ b/core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java @@ -147,8 +147,6 @@ private void initialize() throws DatabaseException { driver = DriverLoader.load(driverName, driverPath); } else { driver = DriverLoader.load(driverName); - LOGGER.warn("Explicitly loaded driver {} from classpath; if JDBCv4 service loading is supported " - + "by the driver you should remove the dbDriver configuration", driverName); } } catch (DriverLoadException ex) { LOGGER.debug("Unable to load database driver", ex);