Skip to content
Snippets Groups Projects
Commit c3b4404b authored by apolcyn's avatar apolcyn Committed by GitHub
Browse files

Merge pull request #7885 from apolcyn/remove_slow_log_statements

remove log statements that showing contents of messages
parents 49507604 5c8efc1c
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,6 @@ module GRPC ...@@ -188,7 +188,6 @@ module GRPC
# marshalled. # marshalled.
def remote_send(req, marshalled = false) def remote_send(req, marshalled = false)
# TODO(murgatroid99): ensure metadata was sent # TODO(murgatroid99): ensure metadata was sent
GRPC.logger.debug("sending #{req}, marshalled? #{marshalled}")
payload = marshalled ? req : @marshal.call(req) payload = marshalled ? req : @marshal.call(req)
@call.run_batch(SEND_MESSAGE => payload) @call.run_batch(SEND_MESSAGE => payload)
end end
...@@ -225,11 +224,8 @@ module GRPC ...@@ -225,11 +224,8 @@ module GRPC
@call.metadata = batch_result.metadata @call.metadata = batch_result.metadata
@metadata_received = true @metadata_received = true
end end
GRPC.logger.debug("received req: #{batch_result}")
unless batch_result.nil? || batch_result.message.nil? unless batch_result.nil? || batch_result.message.nil?
GRPC.logger.debug("received req.to_s: #{batch_result.message}")
res = @unmarshal.call(batch_result.message) res = @unmarshal.call(batch_result.message)
GRPC.logger.debug("received_req (unmarshalled): #{res.inspect}")
return res return res
end end
GRPC.logger.debug('found nil; the final response has been sent') GRPC.logger.debug('found nil; the final response has been sent')
......
...@@ -391,7 +391,6 @@ module GRPC ...@@ -391,7 +391,6 @@ module GRPC
# allow the metadata to be accessed from the call # allow the metadata to be accessed from the call
an_rpc.call.metadata = an_rpc.metadata # attaches md to call for handlers 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 connect_md = nil
unless @connect_md_proc.nil? unless @connect_md_proc.nil?
connect_md = @connect_md_proc.call(an_rpc.method, an_rpc.metadata) connect_md = @connect_md_proc.call(an_rpc.method, an_rpc.metadata)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment