Log coordinated shutdown as debug (#23839)
This commit is contained in:
parent
bcce7bd8c1
commit
da0cfa577b
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ object CoordinatedShutdown extends ExtensionId[CoordinatedShutdown] with Extensi
|
|||
coord.actorSystemJvmHook = OptionVal.Some(coord.addCancellableJvmShutdownHook {
|
||||
runningJvmHook = true // avoid System.exit from PhaseActorSystemTerminate task
|
||||
if (!system.whenTerminated.isCompleted) {
|
||||
coord.log.info("Starting coordinated shutdown from JVM shutdown hook")
|
||||
coord.log.debug("Starting coordinated shutdown from JVM shutdown hook")
|
||||
try {
|
||||
// totalTimeout will be 0 when no tasks registered, so at least 3.seconds
|
||||
val totalTimeout = coord.totalTimeout().max(3.seconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue