Merge pull request #33956 from CHOICORE

* pr/33956:
  Fix log level in PathMatchingResourcePatternResolver

Closes gh-33956
This commit is contained in:
Stéphane Nicoll 2024-11-26 20:04:25 +01:00
commit f3753e6d64
1 changed files with 2 additions and 2 deletions

View File

@ -978,8 +978,8 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
}
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;