Skip to content

Commit

Permalink
improve grpc logging
Browse files Browse the repository at this point in the history
Signed-off-by: lukas <[email protected]>
  • Loading branch information
lukasjarosch committed Feb 26, 2020
1 parent 0cbaf81 commit abf8e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/grpc/interceptor/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func UnaryServerLogging() grpc.UnaryServerInterceptor {
return
}

log.Errorf("finished unary request to '%s', err=%s", info.FullMethod, err)
log.Errorf("finished unary request to '%s' with error: %s", info.FullMethod, err)
return
}
log.Infof("finished unary request to '%s'", info.FullMethod)
Expand Down

0 comments on commit abf8e6c

Please sign in to comment.