From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 5 Oct 2022 20:45:21 +0800 Subject: refactor: Change file structure --- code/api/src/appsettings.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create 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 new file mode 100644 index 0000000..8727fd7 --- /dev/null +++ b/code/api/src/appsettings.json @@ -0,0 +1,22 @@ +{ + "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