Skip to content

Commit

Permalink
Drop log level to TRACE
Browse files Browse the repository at this point in the history
For people not using driver networks these log lines would just be
confusing.
  • Loading branch information
schmichael committed Jan 16, 2018
1 parent d1e2833 commit 99d237d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/task_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1446,13 +1446,13 @@ func (r *TaskRunner) startTask() error {
r.logger.Printf("[INFO] client: alloc %s task %s auto-advertising detected IP %s",
r.alloc.ID, r.task.Name, sresp.Network.IP)
} else {
r.logger.Printf("[DEBUG] client: alloc %s task %s detected IP %s but not auto-advertising",
r.logger.Printf("[TRACE] client: alloc %s task %s detected IP %s but not auto-advertising",
r.alloc.ID, r.task.Name, sresp.Network.IP)
}
}

if sresp.Network == nil || sresp.Network.IP == "" {
r.logger.Printf("[DEBUG] client: alloc %s task %s could not detect a driver IP", r.alloc.ID, r.task.Name)
r.logger.Printf("[TRACE] client: alloc %s task %s could not detect a driver IP", r.alloc.ID, r.task.Name)
}

// Update environment with the network defined by the driver's Start method.
Expand Down

0 comments on commit 99d237d

Please sign in to comment.