Now logging nzb&torrent response sizes.

pull/639/head
Taloth Saldono 9 years ago
parent 794a7957ef
commit 9fe8477a40

@ -125,6 +125,8 @@ namespace NzbDrone.Core.Download
} }
torrentFile = response.ResponseData; torrentFile = response.ResponseData;
_logger.Debug("Downloading torrent for episode '{0}' finished ({1} bytes from {2})", torrentFile.Length, torrentUrl);
} }
catch (HttpException ex) catch (HttpException ex)
{ {

@ -48,6 +48,8 @@ namespace NzbDrone.Core.Download
try try
{ {
nzbData = _httpClient.Get(new HttpRequest(url)).ResponseData; nzbData = _httpClient.Get(new HttpRequest(url)).ResponseData;
_logger.Debug("Downloaded nzb for episode '{0}' finished ({1} bytes from {2})", nzbData.Length, url);
} }
catch (HttpException ex) catch (HttpException ex)
{ {

Loading…
Cancel
Save