diff options
author | Alexander Polcyn <apolcyn@google.com> | 2016-08-26 10:03:02 -0700 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2016-08-26 10:13:39 -0700 |
commit | 5c8efc1ce4a546ce6e56dc744c2289f836bff369 (patch) | |
tree | 47d855549caab153e215255e12a019a22760ac38 | |
parent | 528af97af253792993ac313de3a173ea894861ce (diff) |
remove log statements that showing contents of messages
-rw-r--r-- | src/ruby/lib/grpc/generic/active_call.rb | 4 | ||||
-rw-r--r-- | src/ruby/lib/grpc/generic/rpc_server.rb | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/ruby/lib/grpc/generic/active_call.rb b/src/ruby/lib/grpc/generic/active_call.rb index 4260d85437..5787f53463 100644 --- a/src/ruby/lib/grpc/generic/active_call.rb +++ b/src/ruby/lib/grpc/generic/active_call.rb @@ -188,7 +188,6 @@ module GRPC # marshalled. def remote_send(req, marshalled = false) # TODO(murgatroid99): ensure metadata was sent - GRPC.logger.debug("sending #{req}, marshalled? #{marshalled}") payload = marshalled ? req : @marshal.call(req) @call.run_batch(SEND_MESSAGE => payload) end @@ -225,11 +224,8 @@ module GRPC @call.metadata = batch_result.metadata @metadata_received = true end - GRPC.logger.debug("received req: #{batch_result}") unless batch_result.nil? || batch_result.message.nil? - GRPC.logger.debug("received req.to_s: #{batch_result.message}") res = @unmarshal.call(batch_result.message) - GRPC.logger.debug("received_req (unmarshalled): #{res.inspect}") return res end GRPC.logger.debug('found nil; the final response has been sent') diff --git a/src/ruby/lib/grpc/generic/rpc_server.rb b/src/ruby/lib/grpc/generic/rpc_server.rb index 7ea2371365..efdbeb6f2d 100644 --- a/src/ruby/lib/grpc/generic/rpc_server.rb +++ b/src/ruby/lib/grpc/generic/rpc_server.rb @@ -391,7 +391,6 @@ module GRPC # allow the metadata to be accessed from the call an_rpc.call.metadata = an_rpc.metadata # attaches md to call for handlers - GRPC.logger.debug("call md is #{an_rpc.metadata}") connect_md = nil unless @connect_md_proc.nil? connect_md = @connect_md_proc.call(an_rpc.method, an_rpc.metadata) |