From 64b71ba852f30be91e3c45af08913aae6e46a15f Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 19 Oct 2025 05:11:42 +0100 Subject: [PATCH] Exclude Information level logs from Spectre output --- Aaru/LoggingInterceptor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Aaru/LoggingInterceptor.cs b/Aaru/LoggingInterceptor.cs index 1f88db205..e43de935e 100644 --- a/Aaru/LoggingInterceptor.cs +++ b/Aaru/LoggingInterceptor.cs @@ -34,6 +34,7 @@ public class LoggingInterceptor : ICommandInterceptor LoggerConfiguration loggerConfig = new LoggerConfiguration().MinimumLevel.ControlledBy(_levelSwitch) .Enrich.FromLogContext() .WriteTo.Logger(lc => lc + .Filter.ByExcluding(e => e.Level == LogEventLevel.Information) .WriteTo.Spectre(renderTextAsMarkup: true) .WriteTo.Sentry(o => {