diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-02 21:30:22 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-02 21:30:22 +0800 |
commit | 7139c1aff7ef9da9131598f7eb67bb0d1ed13b6c (patch) | |
tree | 43765ca14ec0a724e81807d584881f23b5c25176 | |
parent | 1e60919d47ac2767706c135332a1a4f79bbf3960 (diff) | |
download | go-tangerine-7139c1aff7ef9da9131598f7eb67bb0d1ed13b6c.tar.gz go-tangerine-7139c1aff7ef9da9131598f7eb67bb0d1ed13b6c.tar.zst go-tangerine-7139c1aff7ef9da9131598f7eb67bb0d1ed13b6c.zip |
Decrease log level for Sending RPC payload
-rw-r--r-- | rpc/util.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc/util.go b/rpc/util.go index bb4087c51..509d9a17d 100644 --- a/rpc/util.go +++ b/rpc/util.go @@ -18,10 +18,11 @@ package rpc import ( "encoding/json" - "github.com/ethereum/go-ethereum/logger" "io" "net/http" + "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/state" ) @@ -36,7 +37,7 @@ func (self JsonWrapper) Send(writer io.Writer, v interface{}) (n int, err error) rpclogger.Fatalln("Error marshalling JSON", err) return 0, err } - rpclogger.Infof("Sending payload: %s", payload) + rpclogger.DebugDetailf("Sending payload: %s", payload) return writer.Write(payload) } |