Browse Source

Refine the log message printed after restoration

Closes gh-30876
pull/30891/head
Sébastien Deleuze 3 years ago
parent
commit
490ff0af5e
  1. 2
      spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java

2
spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java

@ -551,7 +551,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor @@ -551,7 +551,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
this.barrier = null;
Duration timeTakenToRestart = Duration.ofNanos(System.nanoTime() - restartTime);
logger.info("Restart complete in " + timeTakenToRestart.toMillis() + " ms");
logger.info("Spring-managed lifecycle restart completed in " + timeTakenToRestart.toMillis() + " ms");
}
private void awaitPreventShutdownBarrier() {

Loading…
Cancel
Save