kuberuntime: logs: reduce logging level on waitLogs msg
This commit is contained in:
parent
31d22870b2
commit
c58b0183f2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user