Created
August 13, 2023 11:48
-
-
Save otienoelvis/ab84f6bb1ad3247927be98b842cb045a to your computer and use it in GitHub Desktop.
appsettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Logging": { | |
"LogLevel": { | |
"Default": "Information", | |
"Microsoft.AspNetCore": "Warning" | |
} | |
}, | |
"AllowedHosts": "*", | |
"Serilog": { | |
"MinimumLevel": { | |
"Default": "Information", | |
"Override": { | |
"Microsoft": "Warning", | |
"Microsoft.Hosting.Lifetime": "Information" | |
} | |
}, | |
"Filter": [ | |
{ | |
"Name": "ByExcluding", | |
"Args": { "expression": "@mt = 'An unhandled exception has occurred while executing the request.'" } | |
} | |
], | |
"WriteTo": [ | |
{ | |
"Name": "Seq", | |
"Args": { "serverUrl": "http://localhost:5341" } | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment