diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index 40f2baa5..c82d2133 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -337,7 +337,7 @@ namespace PluralKit.Bot if (argPos > -1) { - _logger.Debug("Parsing command {Command} from message {Channel}-{Message}", msg.Content, msg.Channel.Id, msg.Id); + _logger.Verbose("Parsing command {Command} from message {Channel}-{Message}", msg.Content, msg.Channel.Id, msg.Id); // Essentially move the argPos pointer by however much whitespace is at the start of the post-argPos string var trimStartLengthDiff = msg.Content.Substring(argPos).Length - @@ -400,7 +400,7 @@ namespace PluralKit.Bot _metrics.Measure.Meter.Mark(BotMetrics.MessagesReceived); var gatewayLatency = DateTimeOffset.Now - msg.CreatedAt; - _logger.Debug("Message received with latency {Latency}", gatewayLatency); + _logger.Verbose("Message received with latency {Latency}", gatewayLatency); } public Task HandleReactionAdded(Cacheable message, ISocketMessageChannel channel, diff --git a/PluralKit.Bot/Services/ProxyCacheService.cs b/PluralKit.Bot/Services/ProxyCacheService.cs index b80a4260..19cbda47 100644 --- a/PluralKit.Bot/Services/ProxyCacheService.cs +++ b/PluralKit.Bot/Services/ProxyCacheService.cs @@ -29,7 +29,7 @@ namespace PluralKit.Bot public Task> 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)); } diff --git a/PluralKit.Bot/Services/WebhookExecutorService.cs b/PluralKit.Bot/Services/WebhookExecutorService.cs index 1f35f14a..b1f272d1 100644 --- a/PluralKit.Bot/Services/WebhookExecutorService.cs +++ b/PluralKit.Bot/Services/WebhookExecutorService.cs @@ -78,7 +78,7 @@ namespace PluralKit.Bot private async Task 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)); } diff --git a/PluralKit.Core/Utils.cs b/PluralKit.Core/Utils.cs index 31cd3f1b..cdc3677b 100644 --- a/PluralKit.Core/Utils.cs +++ b/PluralKit.Core/Utils.cs @@ -637,7 +637,7 @@ namespace PluralKit public void Dispose() { _stopwatch.Stop(); - _logger.Debug("Executed query {Query} in {ElapsedTime}", _commandText, _stopwatch.Elapsed); + _logger.Verbose("Executed query {Query} in {ElapsedTime}", _commandText, _stopwatch.Elapsed); // One tick is 100 nanoseconds _metrics.Provider.Timer.Instance(CoreMetrics.DatabaseQuery, new MetricTags("query", _commandText))