From 3176b94885ec978c79e0a77831e6d24f5e709f6b Mon Sep 17 00:00:00 2001 From: Jody Donetti Date: Sun, 30 Jan 2022 17:00:22 +0100 Subject: [PATCH] Changed a log level from warning to trace for when no fail-safe activation --- src/ZiggyCreatures.FusionCache/FusionCache.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZiggyCreatures.FusionCache/FusionCache.cs b/src/ZiggyCreatures.FusionCache/FusionCache.cs index b8ef497c..21789b68 100644 --- a/src/ZiggyCreatures.FusionCache/FusionCache.cs +++ b/src/ZiggyCreatures.FusionCache/FusionCache.cs @@ -228,8 +228,8 @@ private string GenerateOperationId() } else { - if (_logger?.IsEnabled(_options.FailSafeActivationLogLevel) ?? false) - _logger.Log(_options.FailSafeActivationLogLevel, "FUSION (O={CacheOperationId} K={CacheKey}): unable to activate FAIL-SAFE (no entries in memory or distributed)", operationId, key); + if (_logger?.IsEnabled(LogLevel.Trace) ?? false) + _logger.LogTrace("FUSION (O={CacheOperationId} K={CacheKey}): unable to activate FAIL-SAFE (no entries in memory or distributed)", operationId, key); return null; } }