Explorar o código

fix logging jsonrpc request #1365

ethers %!s(int64=10) %!d(string=hai) anos
pai
achega
d05305473e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rpc/api/mergedapi.go

+ 1 - 1
rpc/api/mergedapi.go

@@ -42,7 +42,7 @@ func (self *MergedApi) Methods() []string {
 
 // Call the correct API's Execute method for the given request
 func (self *MergedApi) Execute(req *shared.Request) (interface{}, error) {
-	glog.V(logger.Detail).Infof("rpc method: %s", req.Method)
+	glog.V(logger.Detail).Infof("%s %s", req.Method, req.Params)
 
 	if res, _ := self.handle(req); res != nil {
 		return res, nil