Merge pull request #33956 from CHOICORE
* pr/33956: Fix log level in PathMatchingResourcePatternResolver Closes gh-33956
This commit is contained in:
commit
f3753e6d64
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue