48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"ApiSettings": {
|
|
"BaseUrl": "https://localhost:5000"
|
|
},
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.File",
|
|
"Serilog.Sinks.Debug",
|
|
"Serilog.Sinks.Async"
|
|
],
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"System": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Async",
|
|
"Args": {
|
|
"configure": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "LOG_PATH_PLACEHOLDER",
|
|
"rollingInterval": "Day",
|
|
"retainedFileCountLimit": 7,
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [ThreadId: {ThreadId}] [{SourceContext}] {Message:lj}{NewLine}{Exception}",
|
|
"shared": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "Debug",
|
|
"Args": {
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [ThreadId: {ThreadId}] [{SourceContext}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [
|
|
"FromLogContext"
|
|
]
|
|
}
|
|
} |