VOL-1247 : Modified change tuple to include previous and latest data
VOL-1214 : Fixed logs to use the proper mechanism
- Added missing license
- Moved one change tuple statement which would not include proper info
Change-Id: I5a02f6fe92c8b193642294d62f4413ac6edc0c62
diff --git a/db/model/event_bus_client.go b/db/model/event_bus_client.go
index 1ca1d78..227cb3c 100644
--- a/db/model/event_bus_client.go
+++ b/db/model/event_bus_client.go
@@ -16,7 +16,7 @@
package model
import (
- "fmt"
+ "github.com/opencord/voltha-go/common/log"
"github.com/opencord/voltha-go/protos/voltha"
)
@@ -28,5 +28,5 @@
}
func (ebc *EventBusClient) Publish(topic string, event voltha.ConfigEvent) {
- fmt.Printf("publishing event:%+v, topic:%s\n", event, topic)
+ log.Debugf("publishing event:%+v, topic:%s\n", event, topic)
}