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

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;