mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
Reduce the log level of various common events
This commit is contained in:
parent
823688e63d
commit
545e8df6a7
4 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ namespace PluralKit.Bot
|
|||
|
||||
public Task<IEnumerable<ProxyDatabaseResult>> GetResultsFor(ulong account)
|
||||
{
|
||||
_logger.Debug("Looking up members for account {Account} in cache...", account);
|
||||
_logger.Verbose("Looking up members for account {Account} in cache...", account);
|
||||
return _cache.GetOrCreateAsync(GetKey(account), (entry) => FetchResults(account, entry));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ namespace PluralKit.Bot
|
|||
|
||||
private async Task<DiscordWebhookClient> GetClientFor(IWebhook webhook)
|
||||
{
|
||||
_logger.Debug("Looking for client for webhook {Webhook} in cache", webhook.Id);
|
||||
_logger.Verbose("Looking for client for webhook {Webhook} in cache", webhook.Id);
|
||||
return await _cache.GetOrCreateAsync($"_webhook_client_{webhook.Id}",
|
||||
(entry) => MakeCachedClientFor(entry, webhook));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue