-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add rpc request object to debug logging #696
Conversation
@@ -89,6 +89,7 @@ def rpc_call(): | |||
rpc = _remote.RemoteCall(call, rpc_name) | |||
utils.logging_debug(log, rpc) | |||
utils.logging_debug(log, "timeout={}", timeout) | |||
utils.logging_debug(log, request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only concern here is potential overhead -- the request
protobuf message could be arbitrarily large, especially for write operations. If that isn't a concern (becasue utils.logging_debug
does a short-curcuit), then this should be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utils.logging_debug
does nothing unless the NDB_DEBUG
environment variable is set to something truthy.
The failed Given the error emitted:
I suspect that sphinx-doc/sphinx#9246 is the culprit, but don't have the context to be sure. |
Merging |
The |
Yep, probably. I'll try and make it less flakey, tomorrow. |
Created an issue for the Kokoro failure for posterity. Going to try to just rerun for now, as it seems transient. #703 |
Fixes #695