From 993d606bc69eef1ef821b121b96cf4076d73b4f4 Mon Sep 17 00:00:00 2001 From: jobevers Date: Tue, 14 Feb 2017 10:26:03 -0600 Subject: [PATCH] add logging on downloader start --- lbrynet/lbryfilemanager/EncryptedFileDownloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbrynet/lbryfilemanager/EncryptedFileDownloader.py b/lbrynet/lbryfilemanager/EncryptedFileDownloader.py index 170bc6714..e1035df31 100644 --- a/lbrynet/lbryfilemanager/EncryptedFileDownloader.py +++ b/lbrynet/lbryfilemanager/EncryptedFileDownloader.py @@ -99,6 +99,7 @@ class ManagedEncryptedFileDownloader(EncryptedFileSaver): @defer.inlineCallbacks def _start(self): + log.info('Starting Downloader for %s', self.stream_hash) yield EncryptedFileSaver._start(self) sd_hash = yield self.stream_info_manager.get_sd_blob_hashes_for_stream(self.stream_hash) if len(sd_hash): @@ -110,6 +111,7 @@ class ManagedEncryptedFileDownloader(EncryptedFileSaver): self.txid = txid self.nout = nout status = yield self._save_status() + log.info('Set Downloader status for %s to %s', self.stream_hash, status) defer.returnValue(status) def _get_finished_deferred_callback_value(self):