Skip to content

Commit

Permalink
Changed a log level from warning to trace for when no fail-safe activ…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
jodydonetti committed Jan 30, 2022
1 parent 628b8ab commit 3176b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZiggyCreatures.FusionCache/FusionCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3176b94

Please sign in to comment.