Make shutdown delay log DEBUG, not INFO

This commit is contained in:
Michael Schurter
2017-08-17 11:28:33 -07:00
parent beae45bad5
commit ecf0d20af7

View File

@@ -1173,7 +1173,8 @@ func (r *TaskRunner) run() {
// Delay actually killing the task if configured. See #244
if r.task.ShutdownDelay > 0 {
r.logger.Printf("[INFO] client: delaying shutdown of alloc %q task %q for %q", r.alloc.ID, r.task.Name, r.task.ShutdownDelay)
r.logger.Printf("[DEBUG] client: delaying shutdown of alloc %q task %q for %q",
r.alloc.ID, r.task.Name, r.task.ShutdownDelay)
<-time.After(r.task.ShutdownDelay)
}