mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Make shutdown delay log DEBUG, not INFO
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user