diff --git a/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java b/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java index eb4f5b74aefb..3862094d2a17 100644 --- a/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java +++ b/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java @@ -978,8 +978,8 @@ protected Set doFindPathMatchingFileResources(Resource rootDirResource } if (!Files.exists(rootPath)) { - if (logger.isInfoEnabled()) { - logger.info("Skipping search for files matching pattern [%s]: directory [%s] does not exist" + if (logger.isDebugEnabled()) { + logger.debug("Skipping search for files matching pattern [%s]: directory [%s] does not exist" .formatted(subPattern, rootPath.toAbsolutePath())); } return result;