Added ability to log redis commands and their replies#701
Added ability to log redis commands and their replies#701alexcarruthers wants to merge 1 commit into
Conversation
|
There is already a debug mode you can enable in the client -- does that not do what you need? |
|
I'm looking for something that is not used purely for testing purposes. This is more for debugging a production environment after something has gone wrong. This produces one statement that is easy to track in logging tools whereas debug produces a bunch of unconnected statements that don't mean anything on their own and is almost impossible to group them together. |
|
Ping @brycebaril I think it does not really hurt to add this. |
|
I'll leave it up to you @BridgeAR, my biggest issues are:
I agree though that this could be more easily used than the existing debug messages if you simply want to see the commands and values being returned. |
|
@alexcarruthers if you fix the mentioned issues by @brycebaril I'd be fine to merge this. Please do so by:
|
|
And please add a test too |
This allows for insight into what's going into and out of redis without the performance hit created by monitor.