diff --git a/pkg/ipamd/datastore/data_store.go b/pkg/ipamd/datastore/data_store.go index 60d2bc63b0..d1ff604230 100644 --- a/pkg/ipamd/datastore/data_store.go +++ b/pkg/ipamd/datastore/data_store.go @@ -532,7 +532,7 @@ func (ds *DataStore) AddIPv4CidrToStore(eniID string, ipv4Cidr net.IPNet, isPref defer ds.lock.Unlock() strIPv4Cidr := ipv4Cidr.String() - ds.log.Infof("Adding %s to DS for %s", strIPv4Cidr, eniID) + ds.log.Debugf("Adding %s to DS for %s", strIPv4Cidr, eniID) curENI, ok := ds.eniPool[eniID] if !ok { ds.log.Infof("unknown ENI") @@ -541,7 +541,7 @@ func (ds *DataStore) AddIPv4CidrToStore(eniID string, ipv4Cidr net.IPNet, isPref // Already there _, ok = curENI.AvailableIPv4Cidrs[strIPv4Cidr] if ok { - ds.log.Infof("IP already in DS") + ds.log.Debugf("IP already in DS") return errors.New(IPAlreadyInStoreError) } diff --git a/pkg/ipamd/ipamd.go b/pkg/ipamd/ipamd.go index 261cf5fb48..2e11f45670 100644 --- a/pkg/ipamd/ipamd.go +++ b/pkg/ipamd/ipamd.go @@ -1810,7 +1810,7 @@ func (c *IPAMContext) verifyAndAddIPsToDatastore(ctx context.Context, eni string for _, privateIPv4 := range attachedENIIPs { strPrivateIPv4 := aws.ToString(privateIPv4.PrivateIpAddress) if strPrivateIPv4 == c.primaryIP[eni] { - log.Infof("Reconcile and skip primary IP %s on ENI %s", strPrivateIPv4, eni) + log.Debugf("Reconcile and skip primary IP %s on ENI %s", strPrivateIPv4, eni) continue } @@ -1856,7 +1856,7 @@ func (c *IPAMContext) verifyAndAddIPsToDatastore(ctx context.Context, eni string c.reconcileCooldownCache.Remove(strPrivateIPv4) } } - log.Infof("Trying to add %s", strPrivateIPv4) + log.Debugf("Trying to add %s", strPrivateIPv4) // Try to add the IP err := c.dataStoreAccess.GetDataStore(networkCard).AddIPv4CidrToStore(eni, ipv4Addr, false) if err != nil && err.Error() != datastore.IPAlreadyInStoreError {