Skip to content

Commit f3753e6

Browse files
committedNov 26, 2024
Merge pull request #33956 from CHOICORE
* pr/33956: Fix log level in PathMatchingResourcePatternResolver Closes gh-33956
2 parents 8c0ac8e + 41421d1 commit f3753e6

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)