Disable App.Metrics logging under INF

This commit is contained in:
Ske 2020-09-09 22:22:43 +02:00
parent 18ac9f882d
commit 6a64a13d10

View File

@ -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<SystemId>()
.Destructure.AsScalar<MemberId>()