From 651055820a40c6f5875910c2d902d615ca20c8e7 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 27 Nov 2022 12:16:36 -0600 Subject: [PATCH] Fixed: Logging for Cutoff and UpgradeAllowed Specs Fixes #5242 --- .../DecisionEngine/Specifications/CutoffSpecification.cs | 2 +- .../Specifications/UpgradeAllowedSpecification.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/CutoffSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/CutoffSpecification.cs index c1ff68bfd..f17499366 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/CutoffSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/CutoffSpecification.cs @@ -36,7 +36,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications continue; } - _logger.Debug("Comparing file quality with report. Existing file is {0} - {1}", file.Quality); + _logger.Debug("Comparing file quality with report. Existing file is {0}", file.Quality); var customFormats = _formatService.ParseCustomFormat(file); diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradeAllowedSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradeAllowedSpecification.cs index 08e1b0d1a..48e8c36a8 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradeAllowedSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/UpgradeAllowedSpecification.cs @@ -31,7 +31,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications continue; } - _logger.Debug("Comparing file quality with report. Existing file is {0} - {1}", file.Quality); + _logger.Debug("Comparing file quality with report. Existing file is {0}", file.Quality); if (!_upgradableSpecification.IsUpgradeAllowed(qualityProfile, file.Quality,