From 6a64a13d10609665072b482e8b438509ec3a35b9 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 9 Sep 2020 22:22:43 +0200 Subject: [PATCH] Disable App.Metrics logging under INF --- PluralKit.Core/Modules.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PluralKit.Core/Modules.cs b/PluralKit.Core/Modules.cs index 22406ebc..6673f6e0 100644 --- a/PluralKit.Core/Modules.cs +++ b/PluralKit.Core/Modules.cs @@ -112,6 +112,9 @@ namespace PluralKit.Core .Enrich.WithProperty("Component", _component) .MinimumLevel.Is(config.ConsoleLogLevel) + // Don't want App.Metrics spam + .MinimumLevel.Override("App.Metrics", LogEventLevel.Information) + // Actual formatting for these is handled in ScalarFormatting .Destructure.AsScalar() .Destructure.AsScalar()