From 031a4d37c4d80300cab0e6ffd8d0f67f2c0bca59 Mon Sep 17 00:00:00 2001 From: Hunter Gregory Date: Wed, 24 Aug 2022 13:48:45 -0700 Subject: [PATCH] reduce windows logs by a third --- npm/pkg/dataplane/ipsets/ipsetmanager_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/pkg/dataplane/ipsets/ipsetmanager_windows.go b/npm/pkg/dataplane/ipsets/ipsetmanager_windows.go index acdf995be6..aef396ab79 100644 --- a/npm/pkg/dataplane/ipsets/ipsetmanager_windows.go +++ b/npm/pkg/dataplane/ipsets/ipsetmanager_windows.go @@ -338,6 +338,7 @@ func (iMgr *IPSetManager) modifySetPolicies(network *hcn.HostComputeNetwork, ope Settings: policyRequest, } + klog.Infof("[IPSetManager Windows] modifying network settings. operation: %s, policyType: %s", operation, policyType) err = iMgr.ioShim.Hns.ModifyNetworkSettings(network, requestMessage) if err != nil { klog.Infof("[IPSetManager Windows] %s operation has failed with error %s", operation, err.Error()) @@ -409,7 +410,6 @@ func getPolicyNetworkRequestMarshal(setPolicySettings map[string]*hcn.SetPolicyS Settings: rawSettings, }, ) - klog.Infof("%s with name: %s is marshalled.", policyType, setPol.Name) } if len(policyNetworkRequest.Policies) == 0 {