From 3bf40ecba8396db5e187e1df787cee211af6ced3 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 19 Oct 2025 04:56:22 +0100 Subject: [PATCH] Refactor logging configuration --- Aaru/LoggingInterceptor.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Aaru/LoggingInterceptor.cs b/Aaru/LoggingInterceptor.cs index 53cd68578..1f88db205 100644 --- a/Aaru/LoggingInterceptor.cs +++ b/Aaru/LoggingInterceptor.cs @@ -33,11 +33,7 @@ public class LoggingInterceptor : ICommandInterceptor // Configure Serilog LoggerConfiguration loggerConfig = new LoggerConfiguration().MinimumLevel.ControlledBy(_levelSwitch) .Enrich.FromLogContext() - .WriteTo.Logger(lc => lc.Filter - .ByIncludingOnly(e => - e.Level is LogEventLevel.Debug - or LogEventLevel.Verbose - or LogEventLevel.Error) + .WriteTo.Logger(lc => lc .WriteTo.Spectre(renderTextAsMarkup: true) .WriteTo.Sentry(o => {