Skip to content

Commit 490ff0a

Browse files
committed
Refine the log message printed after restoration
Closes gh-30876
1 parent 16b9640 commit 490ff0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ public void afterRestore(org.crac.Context<? extends org.crac.Resource> context)
551551
this.barrier = null;
552552

553553
Duration timeTakenToRestart = Duration.ofNanos(System.nanoTime() - restartTime);
554-
logger.info("Restart complete in " + timeTakenToRestart.toMillis() + " ms");
554+
logger.info("Spring-managed lifecycle restart completed in " + timeTakenToRestart.toMillis() + " ms");
555555
}
556556

557557
private void awaitPreventShutdownBarrier() {

0 commit comments

Comments
 (0)