diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-05 07:05:47 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-05 07:05:47 +0800 |
commit | 65158d39b0632226c168b9a3415365ca8f072cbf (patch) | |
tree | 9b8bb62fa6b2a056a85a889f7f8609aca0a6f875 /rpc/http | |
parent | b1870631a4829e075eae77064973ef94aa2166b3 (diff) | |
download | dexon-65158d39b0632226c168b9a3415365ca8f072cbf.tar.gz dexon-65158d39b0632226c168b9a3415365ca8f072cbf.tar.zst dexon-65158d39b0632226c168b9a3415365ca8f072cbf.zip |
Filtering
Diffstat (limited to 'rpc/http')
-rw-r--r-- | rpc/http/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/http/server.go b/rpc/http/server.go index 965727a4e..bcfd46234 100644 --- a/rpc/http/server.go +++ b/rpc/http/server.go @@ -87,7 +87,7 @@ func (s *RpcHttpServer) apiHandler(api *rpc.EthereumApi) http.Handler { fn := func(w http.ResponseWriter, req *http.Request) { w.Header().Set("Access-Control-Allow-Origin", "*") - rpchttplogger.Debugln("Handling request") + rpchttplogger.DebugDetailln("Handling request") reqParsed, reqerr := JSON.ParseRequestBody(req) if reqerr != nil { @@ -103,7 +103,7 @@ func (s *RpcHttpServer) apiHandler(api *rpc.EthereumApi) http.Handler { return } - rpchttplogger.Debugf("Generated response: %T %s", response, response) + rpchttplogger.DebugDetailf("Generated response: %T %s", response, response) JSON.Send(w, &rpc.RpcSuccessResponse{JsonRpc: reqParsed.JsonRpc, ID: reqParsed.ID, Error: false, Result: response}) } |