Skip to content

Commit

Permalink
Merge pull request #33956 from CHOICORE
Browse files Browse the repository at this point in the history
* pr/33956:
  Fix log level in PathMatchingResourcePatternResolver

Closes gh-33956
  • Loading branch information
snicoll committed Nov 26, 2024
2 parents 8c0ac8e + 41421d1 commit f3753e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,8 @@ protected Set<Resource> 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;
Expand Down

0 comments on commit f3753e6

Please sign in to comment.