From d5927581d266b35a451875c6dfa05b69ef005728 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 27 Mar 2020 14:01:47 +0000 Subject: [PATCH] Move error for api validation to trace level (#1432) * remove error on endpoint validation * trace level --- registry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry.go b/registry.go index a8e96d4..5b61fca 100644 --- a/registry.go +++ b/registry.go @@ -144,8 +144,8 @@ func (r *registryRouter) store(services []*registry.Service) { // if we got nothing skip if err := api.Validate(end); err != nil { - if logger.V(logger.ErrorLevel, logger.DefaultLogger) { - logger.Errorf("endpoint validation failed: %v", err) + if logger.V(logger.TraceLevel, logger.DefaultLogger) { + logger.Tracef("endpoint validation failed: %v", err) } continue }