[VOL-3424] Switch completely to Context based Logger instance
Change-Id: I394ec682d4a8237740612de95826668e109f84b4
diff --git a/internal/pkg/resourcemanager/resourcemanager.go b/internal/pkg/resourcemanager/resourcemanager.go
index 0504eaf..a2c9286 100755
--- a/internal/pkg/resourcemanager/resourcemanager.go
+++ b/internal/pkg/resourcemanager/resourcemanager.go
@@ -519,7 +519,7 @@
FlowInfo := RsrcMgr.GetFlowIDInfo(ctx, ponIntfID, int32(ONUID), int32(uniID), uint32(flowID))
er := getFlowIDFromFlowInfo(ctx, FlowInfo, flowID, gemportID, flowStoreCookie, flowCategory, vlanVid, vlanPcp...)
if er == nil {
- log.Debugw("Found flowid for the vlan, pcp, and gem",
+ logger.Debugw(ctx, "Found flowid for the vlan, pcp, and gem",
log.Fields{"flowID": flowID, "vlanVid": vlanVid, "vlanPcp": vlanPcp, "gemPortID": gemportID})
return flowID, er
}