FTTH-50632 [log modification of controller and vpagent package]
Change-Id: Ib46bd1dbd7ba759a1b25f22b377dcefa3a289919
diff --git a/internal/pkg/vpagent/packetIn.go b/internal/pkg/vpagent/packetIn.go
index aadf19f..f7483a6 100644
--- a/internal/pkg/vpagent/packetIn.go
+++ b/internal/pkg/vpagent/packetIn.go
@@ -33,7 +33,7 @@
logger.Debug(ctx, "receive-packets-in-finished")
}()
if vpa.volthaClient == nil {
- logger.Error(ctx, "no-voltha-connection")
+ logger.Fatal(ctx, "no-voltha-connection")
return
}
opt := grpc.EmptyCallOption{}
@@ -70,7 +70,7 @@
log.Fields{"error": err})
break top
} else if err != nil {
- logger.Infow(ctx, "Ignoring unhandled error", log.Fields{"err": err})
+ logger.Warnw(ctx, "Ignoring unhandled error", log.Fields{"err": err})
continue
}
vpa.packetInChannel <- pkt