Skip to content

Commit 41421d1

Browse files
CHOICOREsnicoll
authored andcommitted
Fix log level in PathMatchingResourcePatternResolver
See gh-33956
1 parent 8c0ac8e commit 41421d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,8 @@ protected Set<Resource> doFindPathMatchingFileResources(Resource rootDirResource
978978
}
979979

980980
if (!Files.exists(rootPath)) {
981-
if (logger.isInfoEnabled()) {
982-
logger.info("Skipping search for files matching pattern [%s]: directory [%s] does not exist"
981+
if (logger.isDebugEnabled()) {
982+
logger.debug("Skipping search for files matching pattern [%s]: directory [%s] does not exist"
983983
.formatted(subPattern, rootPath.toAbsolutePath()));
984984
}
985985
return result;

0 commit comments

Comments
 (0)