39 lines
851 B
JSON
39 lines
851 B
JSON
|
{
|
||
|
"Logging": {
|
||
|
"LogLevel": {
|
||
|
"Default": "Information",
|
||
|
"Microsoft.AspNetCore": "Information"
|
||
|
}
|
||
|
},
|
||
|
"AllowedHosts": "*",
|
||
|
"Serilog": {
|
||
|
"Using": ["Serilog", "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Sinks.Async"],
|
||
|
"MinimumLevel": {
|
||
|
"Default": "Debug",
|
||
|
"Override": {
|
||
|
"Microsoft": "Information",
|
||
|
"System": "Information"
|
||
|
}
|
||
|
},
|
||
|
"WriteTo": [
|
||
|
{
|
||
|
"Name": "Async",
|
||
|
"Args": {
|
||
|
"configure": [
|
||
|
{
|
||
|
"Name": "Console"
|
||
|
},
|
||
|
{
|
||
|
"Name": "File",
|
||
|
"Args": {
|
||
|
"path": "Logs/log-.txt",
|
||
|
"rollingInterval": "Day"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"Enrich": ["FromLogContext", "WithThreadId", "WithMemoryUsage"]
|
||
|
}
|
||
|
}
|