From 4bcde25e2916ef7727a2f2d7e481501653acc856 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 16 Dec 2023 00:37:41 +0200 Subject: [PATCH] Improve messaging for accepted Custom Formats scoring upgrades Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Closes #9496 --- .../Specifications/UpgradableSpecification.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradableSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradableSpecification.cs index a937d033c..ed28983eb 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradableSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradableSpecification.cs @@ -78,7 +78,12 @@ namespace NzbDrone.Core.DecisionEngine.Specifications return false; } - _logger.Debug("New item has a better custom format score"); + _logger.Debug("New item's custom formats [{0}] ({1}) improve on [{2}] ({3}), accepting", + newCustomFormats.ConcatToString(), + newFormatScore, + currentCustomFormats.ConcatToString(), + currentFormatScore); + return true; }