1
0
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:
Mark McDowall
2023-03-16 20:58:01 -07:00
parent 98308737cf
commit 4ff4d32936
2 changed files with 12 additions and 10 deletions
@@ -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;