Fix log level in PathMatchingResourcePatternResolver

See gh-33956
This commit is contained in:
CHOICORE
2024-11-25 20:15:21 +09:00
committed by Stéphane Nicoll
parent 8c0ac8e062
commit 41421d106b

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;