Comment out superfluous logging

This commit is contained in:
Vitaliy Vlasov 2018-05-16 12:11:25 +03:00
parent 375b47e8e8
commit 66b9bd6bb3
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 2 additions and 2 deletions

View File

@ -82,10 +82,10 @@
response @(post (eth-rpc-url) options) response @(post (eth-rpc-url) options)
result (safe-read-str (:body response))] result (safe-read-str (:body response))]
(when internal-tx-id (when internal-tx-id
(log/infof "%s: eth-rpc %s" tx-id-str method)) (log/debugf "%s: eth-rpc %s" tx-id-str method))
(log/debugf "%s: eth-rpc req(%s) body: %s" tx-id-str request-id body) (log/debugf "%s: eth-rpc req(%s) body: %s" tx-id-str request-id body)
(if tx-id-str (if tx-id-str
(log/infof "%s: eth-rpc req(%s) result: %s" tx-id-str request-id result) (log/debugf "%s: eth-rpc req(%s) result: %s" tx-id-str request-id result)
(log/debugf "no-tx-id: eth-rpc req(%s) result: %s" request-id result)) (log/debugf "no-tx-id: eth-rpc req(%s) result: %s" request-id result))
(cond (cond
;; Ignore any responses that have mismatching request ID ;; Ignore any responses that have mismatching request ID