1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 23:42:33 +01:00

Fixed a couple of logging errors.

This commit is contained in:
Taloth Saldono 2015-03-01 22:34:39 +01:00
parent 8d16b8b9d6
commit 2e81e278e1
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}
}

View File

@ -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;
}