Skip to content

Commit

Permalink
Squash spammy log in autodetect code (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Oct 7, 2021
1 parent 735a1ba commit 6616016
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/lifecycle/startup/autodetection/reachaddr.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ func ReachDestination(dest string, version int) (*net.IPNet, error) {
return nil, err
}
for _, iface := range ifaces {
log.WithField("Name", iface.Name).Info("Checking interface CIDRs")
log.WithField("Name", iface.Name).Debug("Checking interface CIDRs")
for _, cidr := range iface.Cidrs {
log.WithField("CIDR", cidr.String()).Info("Checking CIDR")
log.WithField("CIDR", cidr.String()).Debug("Checking CIDR")
if cidr.IP.Equal(udpAddr.IP) {
log.WithField("CIDR", cidr.String()).Info("Found matching interface CIDR")
log.WithField("CIDR", cidr.String()).Debug("Found matching interface CIDR")
return &cidr, nil
}
}
Expand Down

0 comments on commit 6616016

Please sign in to comment.