From 992a37dd1bbc0d50df7b41b266c958c3e25ee226 Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 22 Dec 2019 12:50:56 +0100 Subject: [PATCH] Lower logging level of proxy cache messages --- PluralKit.Bot/Services/ProxyCacheService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Services/ProxyCacheService.cs b/PluralKit.Bot/Services/ProxyCacheService.cs index 19cbda47..5277cc36 100644 --- a/PluralKit.Bot/Services/ProxyCacheService.cs +++ b/PluralKit.Bot/Services/ProxyCacheService.cs @@ -41,7 +41,7 @@ namespace PluralKit.Bot public async Task InvalidateResultsForSystem(PKSystem system) { - _logger.Information("Invalidating proxy cache for system {System}", system.Id); + _logger.Debug("Invalidating proxy cache for system {System}", system.Id); using (var conn = await _conn.Obtain()) foreach (var accountId in await conn.QueryAsync("select uid from accounts where system = @Id", system)) _cache.Remove(GetKey(accountId)); @@ -49,7 +49,7 @@ namespace PluralKit.Bot private async Task> FetchResults(ulong account, ICacheEntry entry) { - _logger.Information("Members for account {Account} not in cache, fetching", account); + _logger.Debug("Members for account {Account} not in cache, fetching", account); using (var conn = await _conn.Obtain()) { var results = (await conn.QueryAsync(