mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-23 22:25:56 -04:00
New: Improve accepted and rejected release logging
Closes #4965 Closes #4646
This commit is contained in:
@@ -178,11 +178,11 @@ namespace NzbDrone.Core.DecisionEngine
|
||||
|
||||
if (decision.Rejections.Any())
|
||||
{
|
||||
_logger.Debug("Release rejected for the following reasons: {0}", string.Join(", ", decision.Rejections));
|
||||
_logger.Debug("Release '{0}' from '{1}' rejected for the following reasons: {2}", report.Title, report.Indexer, string.Join(", ", decision.Rejections));
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("Release accepted");
|
||||
_logger.Debug("Release '{0}' from '{1}' accepted", report.Title, report.Indexer);
|
||||
}
|
||||
|
||||
yield return decision;
|
||||
|
||||
Reference in New Issue
Block a user