From c7fd9f9594c6e6dc5b3c750d7af87e51dba7e7f2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 25 Oct 2022 23:46:26 +0800 Subject: feat: Remove appsettings.json and move logging levels to program.cs --- code/api/src/appsettings.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 code/api/src/appsettings.json (limited to 'code/api/src/appsettings.json') diff --git a/code/api/src/appsettings.json b/code/api/src/appsettings.json deleted file mode 100644 index 8727fd7..0000000 --- a/code/api/src/appsettings.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "AllowedHosts": "*", - "Serilog": { - "MinimumLevel": { - "Default": "Information", - "Override": { - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information", - "Microsoft.EntityFrameworkCore": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "Filter": [ - { - "Name": "ByExcluding", - "Args": { - "expression": "@mt = 'An unhandled exception has occurred while executing the request.'" - } - } - ] - } -} -- cgit v1.3