Skip to content

Commit

Permalink
cleanup log entries of normal operation in healthcheck postprocessor (#…
Browse files Browse the repository at this point in the history
…1648)

Signed-off-by: Arpad Ryszka <[email protected]>
  • Loading branch information
aryszka authored Dec 9, 2020
1 parent c268dfb commit 11dfcc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loadbalancer/healthchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (lb *LB) AddHealthcheck(backend string) {
if lb == nil || lb.stop {
return
}
log.Infof("add backend to be health checked by the loadbalancer: %s", backend)
log.Debugf("add backend to be health checked by the loadbalancer: %s", backend)
lb.ch <- backend
}

Expand Down Expand Up @@ -121,7 +121,7 @@ func (lb *LB) FilterHealthyMemberRoutes(routes []*routing.Route) []*routing.Rout
case unhealthy:
fallthrough
case dead:
log.Infof("filtered member route: %v", r)
log.Debugf("filtered member route: %v", r)
continue
}
}
Expand All @@ -137,7 +137,7 @@ func (lb *LB) FilterHealthyMemberRoutes(routes []*routing.Route) []*routing.Rout
}
lb.Unlock()

log.Infof("filterRoutes incoming=%d outgoing=%d", len(routes), len(result))
log.Debugf("filterRoutes incoming=%d outgoing=%d", len(routes), len(result))
return result
}

Expand Down

0 comments on commit 11dfcc0

Please sign in to comment.