From bdfc5b0c6c8f97dfb13c6137ae41dac4e89b37b7 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 2 Feb 2013 22:27:54 -0800 Subject: [PATCH] client: remove debug logs Change-Id: Iba67ff3daceb17766d17337d8b84e58ed3e96ab7 --- pkg/client/upload.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/client/upload.go b/pkg/client/upload.go index 702e3b69a..6af298068 100644 --- a/pkg/client/upload.go +++ b/pkg/client/upload.go @@ -265,7 +265,9 @@ func (c *Client) doSomeStats() { } c.pendStatMu.Unlock() - println("doing stat batch of", len(batch)) + if debugUploads { + println("doing stat batch of", len(batch)) + } blobs := make([]*blobref.BlobRef, 0, len(batch)) for _, reqs := range batch { @@ -287,7 +289,6 @@ func (c *Client) doSomeStats() { for sb := range ourDest { for _, req := range batch[sb.BlobRef.String()] { req.dest <- sb - println("did stat for", sb.Size) } }