From bd31bfe5285b09c3c3f129b5b1bcd67ce73231b5 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 5 Aug 2026 15:33:56 +0200 Subject: [PATCH] Add Serilog configuration to appsettings.Development.json Introduced a new "Serilog" configuration section to enhance logging control in the development environment. Set the default logging level to "Debug" and added overrides for specific namespaces ("Microsoft", "Microsoft.AspNetCore", "Microsoft.EntityFrameworkCore", and "System") to "Warning". --- .../appsettings.Development.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/presentation/DigitalData.MessagingService.API/appsettings.Development.json b/src/presentation/DigitalData.MessagingService.API/appsettings.Development.json index 0c208ae..06dee5b 100644 --- a/src/presentation/DigitalData.MessagingService.API/appsettings.Development.json +++ b/src/presentation/DigitalData.MessagingService.API/appsettings.Development.json @@ -4,5 +4,16 @@ "Default": "Information", "Microsoft.AspNetCore": "Warning" } + }, + "Serilog": { + "MinimumLevel": { + "Default": "Debug", + "Override": { + "Microsoft": "Warning", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore": "Warning", + "System": "Warning" + } + } } }