squelch very verbose dht error log

This commit is contained in:
Jack 2016-08-11 01:07:49 -04:00
parent 5285982515
commit defbd73b4f

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(err.getErrorMessage())
log.error(err.getTraceback())
log.debug("error storing blob_hash %s at %s", binascii.hexlify(blob_hash), str(n))
log.debug(err.getErrorMessage())
log.debug(err.getTraceback())
def log_success(res):
log.debug("Response to store request: %s", str(res))