diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java b/spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java index 75ac8ddd320e..c2ba1b234bf1 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java @@ -336,12 +336,6 @@ private void resolveResourceLocations() { this.locationsToUse.clear(); this.locationsToUse.addAll(result); - - if (logger.isInfoEnabled()) { - logger.info(!this.locationsToUse.isEmpty() ? - "Locations in use: " + locationToString(this.locationsToUse) : - "0 locations in use."); - } } /** diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java index 7456f37f0318..22f06ccf58d7 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java @@ -467,12 +467,6 @@ private void resolveResourceLocations() { this.locationsToUse.clear(); this.locationsToUse.addAll(result); - - if (logger.isInfoEnabled()) { - logger.info(!this.locationsToUse.isEmpty() ? - "Locations in use: " + locationToString(this.locationsToUse) : - "0 locations in use."); - } } /**