From 1f7772bd04314b414f2a61c0b4c056f316c6c0f9 Mon Sep 17 00:00:00 2001 From: Ross Grambo Date: Fri, 13 Oct 2023 12:41:52 -0700 Subject: [PATCH] Adjusts log level to debug --- src/Microsoft.FeatureManagement/FeatureManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.FeatureManagement/FeatureManager.cs b/src/Microsoft.FeatureManagement/FeatureManager.cs index 17b94c47..1136b714 100644 --- a/src/Microsoft.FeatureManagement/FeatureManager.cs +++ b/src/Microsoft.FeatureManagement/FeatureManager.cs @@ -199,14 +199,14 @@ await contextualFilter.EvaluateAsync(context, appContext).ConfigureAwait(false) { enabled = false; - string errorMessage = $"The feature declaration for the feature '{feature}' was not found."; + string errorMessage = $"The feature definition for the feature '{feature}' was not found."; if (!_options.IgnoreMissingFeatures) { throw new FeatureManagementException(FeatureManagementError.MissingFeature, errorMessage); } - _logger.LogWarning(errorMessage); + _logger.LogDebug(errorMessage); } foreach (ISessionManager sessionManager in _sessionManagers)