diff options
author | 2018-09-10 12:11:17 +0530 | |
---|---|---|
committer | 2018-09-10 12:11:17 +0530 | |
commit | 12e2707b3117f0b507bcdc8005d12d28d5c0d98f (patch) | |
tree | 22939843150bda6b7856a418c94d3144a7ed8d33 /grpc/grpc-server/src/main | |
parent | ad42af79d9ecb45a220000e54a6d396478a917c9 (diff) |
VTP: Enable debug log for gRPC server
Issue-ID: VNFSDK-304
Change-Id: I78097e7e42090946fca5cce527136f8935515ae1
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'grpc/grpc-server/src/main')
-rw-r--r-- | grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java index 0f389f31..25f3fd1b 100644 --- a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java +++ b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java @@ -148,6 +148,7 @@ public class OpenInterfaceGrpcServer { OpenRemoteCli cli = new OpenRemoteCli(req.getProduct(), req.getArgsList().toArray(new String [] {})); cli.handle(); + logger.info(cli.getResult()); Result reply = Result.newBuilder().setExitCode(cli.getExitCode()).setOutput(cli.getResult()).build(); responseObserver.onNext(reply); responseObserver.onCompleted(); |