New: Log indexer when processing results

pull/6/head
Qstick 7 years ago
parent 9dfa8c5b10
commit 80a5701b99

@ -57,6 +57,7 @@ namespace NzbDrone.Core.DecisionEngine
{ {
DownloadDecision decision = null; DownloadDecision decision = null;
_logger.ProgressTrace("Processing release {0}/{1}", reportNumber, reports.Count); _logger.ProgressTrace("Processing release {0}/{1}", reportNumber, reports.Count);
_logger.Debug("Processing release '{0}' from '{1}'", report.Title, report.Indexer);
try try
{ {

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using NLog; using NLog;
@ -52,6 +52,8 @@ namespace NzbDrone.Core.Indexers
lock (result) lock (result)
{ {
_logger.Debug("Found {0} from {1}", indexerReports.Count, indexer.Name);
result.AddRange(indexerReports); result.AddRange(indexerReports);
} }
} }
@ -71,4 +73,4 @@ namespace NzbDrone.Core.Indexers
return result; return result;
} }
} }
} }

Loading…
Cancel
Save