Skip to content
Snippets Groups Projects
Commit 36c15e80 authored by BigDude's avatar BigDude
Browse files

Appsettings configured for serilog

parent 91665691
No related branches found
No related tags found
No related merge requests found
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "MongoDBBson",
"Args": {
"databaseUrl": "mongodb://localhost/logs",
"collectionName": "log",
"cappedMaxSizeMb": "50",
"cappedMaxDocuments": "1000"
}
}
// Add other sinks here if desired...
]
},
"AllowedHosts": "*"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment