From 1754aa64a23401cf99ba212520bc253c8f906f46 Mon Sep 17 00:00:00 2001 From: TekH Date: Sat, 10 Oct 2026 16:53:03 +0200 Subject: [PATCH] chore(api): configure Serilog settings and logging packages --- .../DigitalData.TaskFlow.API.csproj | 9 ++++++++- .../appsettings.Development.json | 11 +++++++++++ .../DigitalData.TaskFlow.API/appsettings.json | 14 ++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/presentation/DigitalData.TaskFlow.API/DigitalData.TaskFlow.API.csproj b/src/presentation/DigitalData.TaskFlow.API/DigitalData.TaskFlow.API.csproj index 5aa7bfa..f4a787a 100644 --- a/src/presentation/DigitalData.TaskFlow.API/DigitalData.TaskFlow.API.csproj +++ b/src/presentation/DigitalData.TaskFlow.API/DigitalData.TaskFlow.API.csproj @@ -8,8 +8,15 @@ + + + + + + + - + diff --git a/src/presentation/DigitalData.TaskFlow.API/appsettings.Development.json b/src/presentation/DigitalData.TaskFlow.API/appsettings.Development.json index 0c208ae..cf2df3e 100644 --- a/src/presentation/DigitalData.TaskFlow.API/appsettings.Development.json +++ b/src/presentation/DigitalData.TaskFlow.API/appsettings.Development.json @@ -1,4 +1,15 @@ { + "Serilog": { + "MinimumLevel": { + "Default": "Debug", + "Override": { + "Microsoft": "Warning", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore": "Warning", + "System": "Warning" + } + } + }, "Logging": { "LogLevel": { "Default": "Information", diff --git a/src/presentation/DigitalData.TaskFlow.API/appsettings.json b/src/presentation/DigitalData.TaskFlow.API/appsettings.json index 7d93c52..a269b53 100644 --- a/src/presentation/DigitalData.TaskFlow.API/appsettings.json +++ b/src/presentation/DigitalData.TaskFlow.API/appsettings.json @@ -1,4 +1,15 @@ { + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore": "Warning", + "System": "Warning" + } + } + }, "ConnectionStrings": { "TaskFlowDb": "Server=SDD-VHP04-SQL19\\DD_TESTING01;Database=DD_ECM;User Id=sa;Password=123456789dD!;Encrypt=false;TrustServerCertificate=True;" }, @@ -12,6 +23,9 @@ "CommandTimeoutSeconds": 30, "WorkflowListingObjectType": "Ferdinand" }, + "Application": { + "LogDirectory": "logs" + }, "Logging": { "LogLevel": { "Default": "Information",