diff --git a/cache.go b/cache.go index d88b10d..160c2f7 100644 --- a/cache.go +++ b/cache.go @@ -368,8 +368,8 @@ func (c *cache) run(domain string) { c.setStatus(err) if a > 3 { - if logger.V(logger.DebugLevel, logger.DefaultLogger) { - logger.Debug("rcache: ", err, " backing off ", d) + if logger.V(logger.TraceLevel) { + logger.Trace("rcache: ", err, " backing off ", d) } a = 0 } @@ -393,8 +393,8 @@ func (c *cache) run(domain string) { c.setStatus(err) if b > 3 { - if logger.V(logger.DebugLevel, logger.DefaultLogger) { - logger.Debug("rcache: ", err, " backing off ", d) + if logger.V(logger.TraceLevel) { + logger.Trace("rcache: ", err, " backing off ", d) } b = 0 }