Don't repeat the op when logging the response.

Doing so adds lots of visual clutter.
geesefs-0-30-9
Aaron Jacobs 2015-08-06 15:37:32 +10:00
parent 348ed9e731
commit 41ea2b7530
2 changed files with 2 additions and 6 deletions

View File

@ -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())
}
}

View File

@ -41,7 +41,3 @@ func describeRequest(op interface{}) (s string) {
return
}
func describeResponse(op interface{}) (s string) {
return describeRequest(op)
}