Merge pull request #973 from vishh/improve_logs

Improve kubelet logging
This commit is contained in:
Dawn Chen 2014-08-20 10:45:16 -07:00
commit a13edcea47

View File

@ -479,7 +479,7 @@ func (kl *Kubelet) syncPod(pod *Pod, dockerContainers DockerContainers) error {
glog.Infof("Container doesn't exist, creating %#v", container)
if err := kl.dockerPuller.Pull(container.Image); err != nil {
glog.Errorf("Failed to pull image: %v skipping pod %s container %s.", err, podFullName, container.Name)
glog.Errorf("Failed to pull image %s: %v skipping pod %s container %s.", container.Image, err, podFullName, container.Name)
continue
}
containerID, err := kl.runContainer(pod, &container, podVolumes, "container:"+string(netID))