Log coordinated shutdown as debug (#23839)

This commit is contained in:
Martynas Mickevičius 2017-10-24 12:15:11 +03:00 committed by Konrad `ktoso` Malawski
parent bcce7bd8c1
commit da0cfa577b

View file

@ -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)