Include timeout unit in shutdown failure logging
Closes gh-25058
This commit is contained in:
committed by
Sam Brannen
parent
ef27bc4b82
commit
1015f79b42
@@ -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