disable verbose dht error

This commit is contained in:
Jack 2016-07-26 18:19:40 -04:00
parent 5e1fdf66b0
commit bd6fa35d4a

View file

@ -240,9 +240,9 @@ class Node(object):
known_nodes = {}
def log_error(err, n):
log.error("error storing blob_hash %s at %s", binascii.hexlify(blob_hash), str(n))
log.error(binascii.hexlify(err.getErrorMessage()))
log.error(err.getTraceback())
log.debug("error storing blob_hash %s at %s", binascii.hexlify(blob_hash), str(n))
log.debug(binascii.hexlify(err.getErrorMessage()))
log.debug(err.getTraceback())
def log_success(res):
log.debug("Response to store request: %s", str(res))