forked from LBRYCommunity/lbry-sdk
debug logging
This commit is contained in:
parent
5022ed2acc
commit
3d92413372
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ class ReflectorServer(Protocol):
|
||||||
self.request_buff = ""
|
self.request_buff = ""
|
||||||
|
|
||||||
def connectionLost(self, reason=failure.Failure(error.ConnectionDone())):
|
def connectionLost(self, reason=failure.Failure(error.ConnectionDone())):
|
||||||
pass
|
log.info("Reflector upload from %s finished" % self.peer.host)
|
||||||
|
|
||||||
def dataReceived(self, data):
|
def dataReceived(self, data):
|
||||||
if self.receiving_blob:
|
if self.receiving_blob:
|
||||||
log.debug('Writing data to blob')
|
# log.debug('Writing data to blob')
|
||||||
self.blob_write(data)
|
self.blob_write(data)
|
||||||
else:
|
else:
|
||||||
log.debug('Not yet recieving blob, data needs further processing')
|
log.debug('Not yet recieving blob, data needs further processing')
|
||||||
|
|
Loading…
Reference in a new issue