Commit 41ea2b75 authored by Aaron Jacobs's avatar Aaron Jacobs

Don't repeat the op when logging the response.

Doing so adds lots of visual clutter.
parent 348ed9e7
......@@ -476,9 +476,9 @@ func (c *Connection) Reply(ctx context.Context, opErr error) {
// Debug logging
if c.debugLogger != nil {
if opErr == nil {
c.debugLog(fuseID, 1, "-> OK: %s", describeResponse(op))
c.debugLog(fuseID, 1, "-> OK")
} else {
c.debugLog(fuseID, 1, "-> error: %v", opErr)
c.debugLog(fuseID, 1, "-> Error: %q", opErr.Error())
}
}
......
......@@ -41,7 +41,3 @@ func describeRequest(op interface{}) (s string) {
return
}
func describeResponse(op interface{}) (s string) {
return describeRequest(op)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment