Fix log level in PathMatchingResourcePatternResolver
See gh-33956
This commit is contained in:
committed by
Stéphane Nicoll
parent
8c0ac8e062
commit
41421d106b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user