diff --git a/app/discovery/discovery.go b/app/discovery/discovery.go index 9b27578..805ce3f 100644 --- a/app/discovery/discovery.go +++ b/app/discovery/discovery.go @@ -137,6 +137,7 @@ func (s *Service) mergeLists() (res []URLMapper) { for _, p := range s.providers { lst, err := p.List() if err != nil { + log.Printf("[DEBUG] can't get list for %s, %v", p, err) continue } for i := range lst { diff --git a/app/discovery/provider/static.go b/app/discovery/provider/static.go index ba8a90e..01bbaec 100644 --- a/app/discovery/provider/static.go +++ b/app/discovery/provider/static.go @@ -2,7 +2,6 @@ package provider import ( "context" - "log" "regexp" "strings" @@ -51,7 +50,6 @@ func (s *Static) List() (res []discovery.URLMapper, err error) { } um, err := parse(r) if err != nil { - log.Printf("[DEBUG] invalid rule %s, %v", r, err) return nil, err } res = append(res, um)