From c49cd3d2a51ad6d2304c24f7b609cde804a0d6c5 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Fri, 23 Jan 2015 13:17:54 -0800 Subject: [PATCH] Make debugs logs suck less. Docker-DCO-1.1-Signed-off-by: Jessica Frazelle (github: jfrazelle) --- graph/pull.go | 1 - image/image.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/graph/pull.go b/graph/pull.go index f76a156056..f9c5c7b421 100644 --- a/graph/pull.go +++ b/graph/pull.go @@ -153,7 +153,6 @@ func (s *TagStore) pullRepository(r *registry.Session, out io.Writer, repoInfo * for _, image := range repoData.ImgList { downloadImage := func(img *registry.ImgData) { if askedTag != "" && img.Tag != askedTag { - log.Debugf("(%s) does not match %s (id: %s), skipping", img.Tag, askedTag, img.ID) if parallel { errors <- nil } diff --git a/image/image.go b/image/image.go index 7664602cd8..0feb2b238c 100644 --- a/image/image.go +++ b/image/image.go @@ -9,7 +9,6 @@ import ( "strconv" "time" - log "github.com/Sirupsen/logrus" "github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/tarsum" "github.com/docker/docker/runconfig" @@ -274,7 +273,6 @@ func (img *Image) CheckDepth() error { func NewImgJSON(src []byte) (*Image, error) { ret := &Image{} - log.Debugf("Json string: {%s}", src) // FIXME: Is there a cleaner way to "purify" the input json? if err := json.Unmarshal(src, ret); err != nil { return nil, err