From 1205227bd342ed112c45a79a2abbb7ade667f387 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 23 Feb 2020 16:45:20 +0300 Subject: [PATCH] prune util/log and user logger (#1237) * prune util/log and user logger Signed-off-by: Vasiliy Tolstov * plaintext logger Signed-off-by: Vasiliy Tolstov * add newline Signed-off-by: Vasiliy Tolstov --- cache.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cache.go b/cache.go index 51c3aac..689c6e3 100644 --- a/cache.go +++ b/cache.go @@ -7,8 +7,8 @@ import ( "sync" "time" + log "github.com/micro/go-micro/v2/logger" "github.com/micro/go-micro/v2/registry" - log "github.com/micro/go-micro/v2/util/log" ) // Cache is the registry cache interface @@ -339,7 +339,7 @@ func (c *cache) run() { c.setStatus(err) if a > 3 { - log.Log("rcache: ", err, " backing off ", d) + log.Info("rcache: ", err, " backing off ", d) a = 0 } @@ -362,7 +362,7 @@ func (c *cache) run() { c.setStatus(err) if b > 3 { - log.Log("rcache: ", err, " backing off ", d) + log.Info("rcache: ", err, " backing off ", d) b = 0 }