Fixed a couple of logging errors.

pull/200/merge
Taloth Saldono 10 years ago
parent 8d16b8b9d6
commit 2e81e278e1

@ -61,7 +61,7 @@ namespace NzbDrone.Core.Download
var downloadClient = _downloadClientProvider.Get(trackedDownload.DownloadClient);
try
{
_logger.Debug("[{0}] Removing download from {1} history", trackedDownload.DownloadItem.DownloadClient);
_logger.Debug("[{0}] Removing download from {1} history", trackedDownload.DownloadItem.Title, trackedDownload.DownloadItem.DownloadClient);
downloadClient.RemoveItem(trackedDownload.DownloadItem.DownloadId, true);
trackedDownload.DownloadItem.Removed = true;
}

@ -69,7 +69,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
if (runTime.TotalSeconds < minimumRuntime)
{
_logger.Debug("[{0}] appears to be a sample. Runtime: {1} seconds. Expected at least: {1} seconds", path, runTime, minimumRuntime);
_logger.Debug("[{0}] appears to be a sample. Runtime: {1} seconds. Expected at least: {2} seconds", path, runTime, minimumRuntime);
return true;
}
}

@ -344,7 +344,7 @@ namespace NzbDrone.Core.Parser
info.Language = Parser.ParseLanguage(title);
info.Special = true;
_logger.Info("Found special episode {0} for title '{1}'", info, title);
_logger.Debug("Found special episode {0} for title '{1}'", info, title);
return info;
}

Loading…
Cancel
Save