Skip to content

Commit 7db3950

Browse files
committed
Change add failed log to debug (down from info)
1 parent 25ad16f commit 7db3950

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CacheManager.StackExchange.Redis/RedisCacheHandle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,9 +882,9 @@ private bool Set(CacheItem<TCacheValue> item, When when, bool sync = false)
882882
if (result.IsNull && when == When.NotExists)
883883
{
884884
// add failed because element exists already
885-
if (Logger.IsEnabled(LogLevel.Information))
885+
if (Logger.IsEnabled(LogLevel.Debug))
886886
{
887-
Logger.LogInfo("DB {0} | Failed to add item [{1}] because it exists.", _connection.Database.Database, item.ToString());
887+
Logger.LogDebug("DB {0} | Failed to add item [{1}] because it exists.", _connection.Database.Database, item.ToString());
888888
}
889889

890890
return false;

0 commit comments

Comments
 (0)