debug logging

This commit is contained in:
Jack 2016-08-20 23:47:41 -04:00
parent 5022ed2acc
commit 3d92413372

View file

@ -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')