mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Include timeout unit in shutdown failure logging
Closes gh-25058
This commit is contained in:
committed by
Sam Brannen
parent
ef27bc4b82
commit
1015f79b42
+1
-1
@@ -386,7 +386,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
|
||||
if (latch.getCount() > 0 && !countDownBeanNames.isEmpty() && logger.isInfoEnabled()) {
|
||||
logger.info("Failed to shut down " + countDownBeanNames.size() + " bean" +
|
||||
(countDownBeanNames.size() > 1 ? "s" : "") + " with phase value " +
|
||||
this.phase + " within timeout of " + this.timeout + ": " + countDownBeanNames);
|
||||
this.phase + " within timeout of " + this.timeout + "ms: " + countDownBeanNames);
|
||||
}
|
||||
}
|
||||
catch (InterruptedException ex) {
|
||||
|
||||
Reference in New Issue
Block a user