From a2cf384d4fde6564c471f0330aef66a28e0a1779 Mon Sep 17 00:00:00 2001 From: Mehran Kholdi Date: Fri, 11 Sep 2020 20:44:40 +0430 Subject: [PATCH] Make logs less noisy --- rawfile_servicer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rawfile_servicer.py b/rawfile_servicer.py index 84d2df1..a01c380 100644 --- a/rawfile_servicer.py +++ b/rawfile_servicer.py @@ -42,7 +42,7 @@ class RawFileIdentityServicer(csi_pb2_grpc.IdentityServicer): ] ) - @log_grpc_request + # @log_grpc_request def Probe(self, request, context): return csi_pb2.ProbeResponse(ready=BoolValue(value=True)) @@ -51,7 +51,7 @@ class RawFileNodeServicer(csi_pb2_grpc.NodeServicer): def __init__(self, node_name): self.node_name = node_name - @log_grpc_request + # @log_grpc_request def NodeGetCapabilities(self, request, context): Cap = csi_pb2.NodeServiceCapability return csi_pb2.NodeGetCapabilitiesResponse( @@ -108,7 +108,7 @@ class RawFileNodeServicer(csi_pb2_grpc.NodeServicer): detach_loops(img_file) return csi_pb2.NodeUnstageVolumeResponse() - @log_grpc_request + # @log_grpc_request def NodeGetVolumeStats(self, request, context): volume_id = request.volume_id stats = volume_stats(volume_id)