From cacd13b0bc645a5153eb5338743ab8dffba77bb4 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 5 May 2016 16:17:47 -0700 Subject: [PATCH] zk error log --- control/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/util.go b/control/util.go index a32909c2..c8621720 100644 --- a/control/util.go +++ b/control/util.go @@ -277,7 +277,7 @@ func doPutZk(conn *zk.Conn, requests <-chan request, sameKey bool) { var errStr string if err != nil { errStr = err.Error() - fmt.Println("doPutZk err:", err) + log.Println("doPutZk err:", err) } results <- result{errStr: errStr, duration: time.Since(st), happened: time.Now()} bar.Increment()