From 073b4961973a2f21323c7d0b7a2f35db4b40dad5 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 9 Apr 2014 21:37:52 -0700 Subject: [PATCH] Update series logging improvements --- src/NzbDrone.Core/Tv/SeriesService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Tv/SeriesService.cs b/src/NzbDrone.Core/Tv/SeriesService.cs index 920ad701e..ed51da640 100644 --- a/src/NzbDrone.Core/Tv/SeriesService.cs +++ b/src/NzbDrone.Core/Tv/SeriesService.cs @@ -196,8 +196,10 @@ public Series UpdateSeries(Series series) public List UpdateSeries(List series) { + _logger.Debug("Updating {0} series", series.Count); foreach (var s in series) { + _logger.Trace("Updating: {0}", s.Title); if (!s.RootFolderPath.IsNullOrWhiteSpace()) { var folderName = new DirectoryInfo(s.Path).Name; @@ -210,8 +212,7 @@ public List UpdateSeries(List series) _logger.Trace("Not changing path for: {0}", s.Title); } } - - _logger.Debug("Updating {0} series", series.Count); + _seriesRepository.UpdateMany(series); _logger.Debug("{0} series updated", series.Count);