From 9c7ae6bb53abcf63d943f5b255616e2bad2b59e7 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 8 Aug 2020 14:04:18 +0100 Subject: [PATCH] lower log level to debug --- registry.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/registry.go b/registry.go index eaca934..86c38be 100644 --- a/registry.go +++ b/registry.go @@ -577,8 +577,8 @@ func (r *rtr) start() error { default: w, err := r.options.Registry.Watch(registry.WatchDomain(registry.WildcardDomain)) if err != nil { - if logger.V(logger.WarnLevel, logger.DefaultLogger) { - logger.Warnf("failed creating registry watcher: %v", err) + if logger.V(logger.DebugLevel, logger.DefaultLogger) { + logger.Debugf("failed creating registry watcher: %v", err) } time.Sleep(time.Second) continue @@ -586,8 +586,8 @@ func (r *rtr) start() error { // watchRegistry calls stop when it's done if err := r.watchRegistry(w); err != nil { - if logger.V(logger.WarnLevel, logger.DefaultLogger) { - logger.Warnf("Error watching the registry: %v", err) + if logger.V(logger.DebugLevel, logger.DefaultLogger) { + logger.Debugf("Error watching the registry: %v", err) } time.Sleep(time.Second) }