diff --git a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java index d0809e76f8..75cf2c804e 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java +++ b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java @@ -211,7 +211,7 @@ public class LocalDevToolsAutoConfiguration { public void onApplicationEvent(ClassPathChangedEvent event) { if (event.isRestartRequired()) { logger.info(LogMessage.format("Restarting due to %s", event.overview())); - logger.debug(LogMessage.of(() -> "Change set: %s" + event.getChangeSet())); + logger.debug(LogMessage.format("Change set: %s", event.getChangeSet())); Restarter.getInstance().restart(new FileWatchingFailureHandler(this.fileSystemWatcherFactory)); } }