[VOL-5550] Optimize INFO logs MIB upload and download FSMs and reconcilation

Change-Id: I13e378bd02e586b3b7dd36a41f263f67789d816c
Signed-off-by: bseeniva <balaji.seenivasan@radisys.com>
diff --git a/internal/pkg/almgr/alarm_manager.go b/internal/pkg/almgr/alarm_manager.go
index f0335a9..f1e5109 100755
--- a/internal/pkg/almgr/alarm_manager.go
+++ b/internal/pkg/almgr/alarm_manager.go
@@ -531,7 +531,7 @@
 
 // StartOMCIAlarmMessageProcessing - TODO: add comment: add comment
 func (am *OnuAlarmManager) StartOMCIAlarmMessageProcessing(ctx context.Context) {
-	logger.Infow(ctx, "alarm-manager-start-omci-alarm-message-processing-routines", log.Fields{"device-id": am.deviceID})
+	logger.Debugw(ctx, "alarm-manager-start-omci-alarm-message-processing-routines", log.Fields{"device-id": am.deviceID})
 	am.onuAlarmManagerLock.Lock()
 	am.processMessage = true
 	if am.activeAlarms == nil {
diff --git a/internal/pkg/avcfg/onu_uni_tp.go b/internal/pkg/avcfg/onu_uni_tp.go
index 127b8c4..ec60074 100755
--- a/internal/pkg/avcfg/onu_uni_tp.go
+++ b/internal/pkg/avcfg/onu_uni_tp.go
@@ -472,7 +472,7 @@
 				continue
 			}
 		}
-		logger.Infow(ctx, "Gem Port is multicast", log.Fields{"isMulticast": isMulticast})
+		logger.Debugw(ctx, "Gem Port is multicast", log.Fields{"isMulticast": isMulticast})
 		if isMulticast {
 			mcastGemID := uint16(downstreamContent.MulticastGemId)
 			_, existing := onuTP.mapPonAniConfig[uniTPKey].mapGemPortParams[mcastGemID]
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index e8da229..89fd091 100755
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -2023,7 +2023,7 @@
 		}
 		//TODO Need to Update Device Reason To CORE as part of device update userstory
 	} else {
-		logger.Infow(ctx, "reconciling - don't notify core about DeviceUpdate",
+		logger.Debugw(ctx, "reconciling - don't notify core about DeviceUpdate",
 			log.Fields{"device-id": dh.DeviceID})
 	}
 
@@ -2068,7 +2068,7 @@
 			return
 		}
 	} else {
-		logger.Infow(ctx, "reconciling - pon-port already added", log.Fields{"device-id": dh.DeviceID})
+		logger.Debugw(ctx, "reconciling - pon-port already added", log.Fields{"device-id": dh.DeviceID})
 	}
 	logger.Debugw(ctx, "doStateInit-done", log.Fields{"device-id": dh.DeviceID})
 }
@@ -4038,7 +4038,7 @@
 	aUniVlanFlowParams *[]cmn.UniVlanFlowParams, aWriteToKvStore bool) error {
 
 	if dh.IsReconciling() {
-		logger.Info(ctx, "reconciling - don't store persistent UniFlowConfig", log.Fields{"device-id": dh.DeviceID})
+		logger.Debug(ctx, "reconciling - don't store persistent UniFlowConfig", log.Fields{"device-id": dh.DeviceID})
 		return nil
 	}
 	logger.Debugw(ctx, "Store or clear persistent UniFlowConfig", log.Fields{"device-id": dh.DeviceID})
@@ -4924,7 +4924,7 @@
 // This routine is unique per ONU ID and blocks on flowControlBlock channel for incoming flows
 // Each incoming flow is processed in a synchronous manner, i.e., the flow is processed to completion before picking another
 func (dh *deviceHandler) PerOnuFlowHandlerRoutine(uniID uint8) {
-	logger.Infow(context.Background(), "starting-flow-handler-routine", log.Fields{"device-id": dh.DeviceID})
+	logger.Debugw(context.Background(), "starting-flow-handler-routine", log.Fields{"device-id": dh.DeviceID})
 	dh.setFlowMonitoringIsRunning(uniID, true)
 	for {
 		select {
diff --git a/internal/pkg/mib/mib_sync.go b/internal/pkg/mib/mib_sync.go
index 9efc65d..a74c4f0 100755
--- a/internal/pkg/mib/mib_sync.go
+++ b/internal/pkg/mib/mib_sync.go
@@ -1685,7 +1685,7 @@
 // Updates a specific attribute in the MIB database
 func (oo *OnuDeviceEntry) updateAttribute(ctx context.Context, attributeName string, attributesMap me.AttributeValueMap, classID me.ClassID, entityID uint16, newValue interface{}) {
 	if _, exists := attributesMap[attributeName]; exists {
-		logger.Infow(ctx, "Updating "+attributeName, log.Fields{"classID": strconv.Itoa(int(classID)), "oldValue": attributesMap[attributeName], "newValue": newValue})
+		logger.Debugw(ctx, "Updating "+attributeName, log.Fields{"classID": strconv.Itoa(int(classID)), "oldValue": attributesMap[attributeName], "newValue": newValue})
 		attributeCopy := make(me.AttributeValueMap)
 		for k, v := range attributesMap {
 			attributeCopy[k] = v
@@ -1722,7 +1722,7 @@
 	cmnMEDbValue.MeDbLock.Lock()
 	defer cmnMEDbValue.MeDbLock.Unlock()
 
-	logger.Infow(ctx, "Populating MIbDatabase with the template information ", log.Fields{"device-id": oo.deviceID})
+	logger.Debugw(ctx, "Populating MIbDatabase with the template information ", log.Fields{"device-id": oo.deviceID})
 	for firstLevelKey, firstLevelValue := range firstLevelMap {
 		if uint16ValidNumber, err := strconv.ParseUint(firstLevelKey, 10, 16); err == nil {
 			meClassID := me.ClassID(uint16ValidNumber)
diff --git a/internal/pkg/pmmgr/onu_metrics_manager.go b/internal/pkg/pmmgr/onu_metrics_manager.go
index a3a3bf1..f8f9178 100755
--- a/internal/pkg/pmmgr/onu_metrics_manager.go
+++ b/internal/pkg/pmmgr/onu_metrics_manager.go
@@ -427,7 +427,7 @@
 	metricsManager.opticalMetricsDelCommChan = make(chan bool, 2)
 	metricsManager.uniMetricsDelCommChan = make(chan bool, 2)
 
-	logger.Info(ctx, "init-OnuMetricsManager completed", log.Fields{"device-id": metricsManager.deviceID})
+	logger.Debug(ctx, "init-OnuMetricsManager completed", log.Fields{"device-id": metricsManager.deviceID})
 	return &metricsManager
 }
 
@@ -452,7 +452,7 @@
 		// If mm.pDeviceHandler.GetPmConfigs().FreqOverride is set to false, then overall metric specific interval applies
 		mm.NextGlobalMetricCollectionTime = time.Now().Add(time.Duration(mm.pDeviceHandler.GetPmConfigs().DefaultFreq) * time.Second)
 	}
-	logger.Infow(ctx, "initialized standalone group/metric collection time", log.Fields{"device-id": mm.deviceID})
+	logger.Debugw(ctx, "initialized standalone group/metric collection time", log.Fields{"device-id": mm.deviceID})
 }
 
 // UpdateDefaultFrequency - TODO: add comment
@@ -1092,7 +1092,7 @@
 
 // ProcessOmciMessages - TODO: add comment
 func (mm *OnuMetricsManager) ProcessOmciMessages(ctx context.Context, waitForOmciProcessor *sync.WaitGroup) {
-	logger.Infow(ctx, "Start routine to process OMCI-GET messages for device-id", log.Fields{"device-id": mm.deviceID})
+	logger.Debugw(ctx, "Start routine to process OMCI-GET messages for device-id", log.Fields{"device-id": mm.deviceID})
 	// Flush metric collection channels to be safe.
 	// It is possible that there is stale data on this channel if the ProcessOmciMessages routine
 	// is stopped right after issuing a OMCI-GET request and started again.