kuberuntime: logs: reduce logging level on waitLogs msg

This commit is contained in:
Seth Jennings 2018-04-11 13:12:04 -05:00
parent 31d22870b2
commit c58b0183f2

View File

@ -380,7 +380,7 @@ func waitLogs(id string, w *fsnotify.Watcher, runtimeService internalapi.Runtime
} }
// Only keep following container log when it is running. // Only keep following container log when it is running.
if s.State != runtimeapi.ContainerState_CONTAINER_RUNNING { if s.State != runtimeapi.ContainerState_CONTAINER_RUNNING {
glog.Errorf("Container %q is not running (state=%q)", id, s.State) glog.V(5).Infof("Container %q is not running (state=%q)", id, s.State)
// Do not return error because it's normal that the container stops // Do not return error because it's normal that the container stops
// during waiting. // during waiting.
return false, nil return false, nil