Refine the log message printed after restoration
Closes gh-30876
This commit is contained in:
@@ -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