MDCLOG Implementation with Dynamic log-level changes

Change-Id: I1d78dfdb0c14c3d05b92d3b4bb72d9f51d40cd28
Signed-off-by: rimverma <rimjhim.verma@nokia.com>
diff --git a/E2Manager/e2pdus/configuration_update_test.go b/E2Manager/e2pdus/configuration_update_test.go
index a4b40e4..86e27a5 100644
--- a/E2Manager/e2pdus/configuration_update_test.go
+++ b/E2Manager/e2pdus/configuration_update_test.go
@@ -31,7 +31,8 @@
 )
 
 func TestPrepareEndcConfigurationUpdateFailurePDU(t *testing.T) {
-	_,err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel:= int8(3)
+	_,err := logger.InitLogger(InfoLevel)
 	if err!=nil{
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -49,7 +50,8 @@
 }
 
 func TestPrepareEndcConfigurationUpdateFailurePDUFailure(t *testing.T) {
-	_, err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel:= int8(3)
+	_, err := logger.InitLogger(InfoLevel)
 	if err != nil {
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -66,7 +68,8 @@
 }
 
 func TestPrepareX2EnbConfigurationUpdateFailurePDU(t *testing.T) {
-	_,err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel := int8(3)
+	_,err := logger.InitLogger(InfoLevel)
 	if err!=nil{
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -84,7 +87,8 @@
 }
 
 func TestPrepareX2EnbConfigurationUpdateFailurePDUFailure(t *testing.T) {
-	_, err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel:= int8(3)
+	_, err := logger.InitLogger(InfoLevel)
 	if err != nil {
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -101,7 +105,8 @@
 }
 
 func TestPrepareEndcConfigurationUpdateAckPDU(t *testing.T) {
-	_,err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel := int8(3)
+	_,err := logger.InitLogger(InfoLevel)
 	if err!=nil{
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -119,7 +124,8 @@
 }
 
 func TestPrepareEndcConfigurationUpdateAckPDUFailure(t *testing.T) {
-	_, err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel := int8(3)
+	_, err := logger.InitLogger(InfoLevel)
 	if err != nil {
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -136,7 +142,8 @@
 }
 
 func TestPrepareX2EnbConfigurationUpdateAckPDU(t *testing.T) {
-	_,err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel:= int8(3)
+	_,err := logger.InitLogger(InfoLevel)
 	if err!=nil{
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -154,7 +161,8 @@
 }
 
 func TestPrepareX2EnbConfigurationUpdateAckPDUFailure(t *testing.T) {
-	_, err := logger.InitLogger(logger.InfoLevel)
+	InfoLevel:= int8(3)
+	_, err := logger.InitLogger(InfoLevel)
 	if err != nil {
 		t.Errorf("failed to initialize logger, error: %s", err)
 	}
@@ -168,4 +176,4 @@
 	if !strings.Contains(err.Error(), expected) {
 		t.Errorf("want :[%s], got: [%s]\n", expected, err)
 	}
-}
\ No newline at end of file
+}