Adding some more logging to import process

This commit is contained in:
Mark McDowall 2013-11-28 12:53:30 -08:00
parent bb7bf803a6
commit e6a4008fad
3 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,8 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
}
parsedEpisode.Size = _diskProvider.GetFileSize(file);
_logger.Trace("Size: {0}", parsedEpisode.Size);
decision = GetDecision(parsedEpisode);
}

View File

@ -156,7 +156,11 @@ namespace NzbDrone.Core.Parser
if (result != null)
{
result.Language = ParseLanguage(title);
Logger.Trace("Language parsed: {0}", result.Language);
result.Quality = QualityParser.ParseQuality(title);
Logger.Trace("Quality parsed: {0}", result.Quality);
return result;
}
}

View File

@ -52,6 +52,7 @@ namespace NzbDrone.Core.Parser
if (!episodes.Any())
{
_logger.Trace("No matching episodes found for: {0}", parsedEpisodeInfo);
return null;
}