Adding some more logging to import process

pull/2/head
Mark McDowall 11 years ago
parent bb7bf803a6
commit e6a4008fad

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

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

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

Loading…
Cancel
Save