diff --git a/felix/routerule/route_rule.go b/felix/routerule/route_rule.go index e4269114697..992cc82d548 100644 --- a/felix/routerule/route_rule.go +++ b/felix/routerule/route_rule.go @@ -147,7 +147,6 @@ func (r *RouteRules) getActiveRule(rule *Rule, f RulesMatchFunc) *Rule { // Set a Rule. Add to activeRules if it does not already exist based on matchForUpdate function. func (r *RouteRules) SetRule(rule *Rule) { - if r.netlinkFamily != rule.nlRule.Family { log.WithField("rule", rule).Warnf("Rule does not match family %d, ignoring.", r.netlinkFamily) } @@ -164,7 +163,6 @@ func (r *RouteRules) SetRule(rule *Rule) { // Remove a Rule. Do nothing if Rule not exists depends based on matchForRemove function. func (r *RouteRules) RemoveRule(rule *Rule) { - if r.netlinkFamily != rule.nlRule.Family { log.WithField("rule", rule).Warnf("Rule does not match family %d, ignoring.", r.netlinkFamily) } @@ -186,7 +184,7 @@ func (r *RouteRules) getNetlinkHandle() (HandleIface, error) { log.WithField("numFailures", r.numConsistentNetlinkFailures).Panic( "Repeatedly failed to connect to netlink.") } - log.Info("Trying to connect to netlink") + log.Debug("Trying to connect to netlink") nlHandle, err := r.newNetlinkHandle() if err != nil { r.numConsistentNetlinkFailures++ diff --git a/felix/routetable/route_table.go b/felix/routetable/route_table.go index 9fecf540ce2..6d0acec64e6 100644 --- a/felix/routetable/route_table.go +++ b/felix/routetable/route_table.go @@ -891,19 +891,19 @@ func (r *RouteTable) fullResyncRoutesForLink(logCxt *log.Entry, ifaceName string continue } logCxt := logCxt.WithField("cidr", cidr) - logCxt.Info("Deleting from expected targets") + logCxt.Debug("Deleting from expected targets") delete(expectedTargets, cidr) // If we do not have an update that supersedes this entry, then add it back in as an update so that we add // the route. if pendingTarget, ok := pendingDeltaTargets[cidr]; !ok { - logCxt.Info("No pending target update, adding back in as an update") + logCxt.Debug("No pending target update, adding back in as an update") pendingDeltaTargets[cidr] = safeTargetPointer(target) } else if pendingTarget == nil { - logCxt.Info("Pending target deletion, removing delete update") + logCxt.Debug("Pending target deletion, removing delete update") delete(pendingDeltaTargets, cidr) } else { - logCxt.Info("Pending target update, no changes to deltas required") + logCxt.Debug("Pending target update, no changes to deltas required") } }