mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Refine the log message printed after restoration
Closes gh-30876
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user