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/proxy_test.go b/db/model/proxy_test.go
index a96aa28..45329fd 100644
--- a/db/model/proxy_test.go
+++ b/db/model/proxy_test.go
@@ -18,7 +18,6 @@
 import (
 	"encoding/hex"
 	"encoding/json"
-	"fmt"
 	"github.com/google/uuid"
 	"github.com/opencord/voltha-go/common/log"
 	"github.com/opencord/voltha-go/protos/common"
@@ -150,7 +149,6 @@
 	//updated := devProxy.Get("/ports", 0, false, "")
 	//t.Logf("got updated ports: %+v", updated)
 
-
 	//
 	// Get a device proxy, retrieve all the ports and update a specific one
 	//
@@ -231,17 +229,17 @@
 func firstCallback(args ...interface{}) interface{} {
 	name := args[0]
 	id := args[1]
-	fmt.Printf("Running first callback - name: %s, id: %s\n", name, id)
+	log.Infof("Running first callback - name: %s, id: %s\n", name, id)
 	return nil
 }
 func deviceCallback(args ...interface{}) interface{} {
-	fmt.Printf("Running device callback\n")
+	log.Infof("Running device callback\n")
 	return nil
 }
 func secondCallback(args ...interface{}) interface{} {
 	name := args[0].(map[string]string)
 	id := args[1]
-	fmt.Printf("Running second callback - name: %s, id: %f\n", name["name"], id)
+	log.Infof("Running second callback - name: %s, id: %f\n", name["name"], id)
 	// FIXME: the panic call seem to interfere with the logging mechanism
 	//panic("Generating a panic in second callback")
 	return nil
@@ -249,7 +247,7 @@
 func thirdCallback(args ...interface{}) interface{} {
 	name := args[0]
 	id := args[1].(*voltha.Device)
-	fmt.Printf("Running third callback - name: %+v, id: %s\n", name, id.Id)
+	log.Infof("Running third callback - name: %+v, id: %s\n", name, id.Id)
 	return nil
 }