mirror of https://github.com/lidarr/Lidarr
Fixed a couple of logging errors.
This commit is contained in:
parent
8d16b8b9d6
commit
2e81e278e1
|
@ -61,7 +61,7 @@ namespace NzbDrone.Core.Download
|
||||||
var downloadClient = _downloadClientProvider.Get(trackedDownload.DownloadClient);
|
var downloadClient = _downloadClientProvider.Get(trackedDownload.DownloadClient);
|
||||||
try
|
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);
|
downloadClient.RemoveItem(trackedDownload.DownloadItem.DownloadId, true);
|
||||||
trackedDownload.DownloadItem.Removed = true;
|
trackedDownload.DownloadItem.Removed = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||||
|
|
||||||
if (runTime.TotalSeconds < minimumRuntime)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -344,7 +344,7 @@ namespace NzbDrone.Core.Parser
|
||||||
info.Language = Parser.ParseLanguage(title);
|
info.Language = Parser.ParseLanguage(title);
|
||||||
info.Special = true;
|
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;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue