mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-14 17:44:20 +01:00
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"Database":
|
|
{
|
|
"Server": "SQLite",
|
|
"Connection": "Data Source=SRSS.db"
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"System": "Information",
|
|
"Microsoft": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.AspNetCore.Authentication": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args":
|
|
{
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} - {Caller}->{Assembly}] | {Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args":
|
|
{
|
|
"path": "Logs/Debug/log_.log",
|
|
"RollingInterval": "Day",
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} - {Caller}->{Assembly}] | {Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Destructure": [
|
|
{ "Name": "ToMaximumDepth", "Args": { "maximumDestructuringDepth": 4 } },
|
|
{ "Name": "ToMaximumStringLength", "Args": { "maximumStringLength": 100 } },
|
|
{ "Name": "ToMaximumCollectionCount", "Args": { "maximumCollectionCount": 10 } }
|
|
],
|
|
"Properties": {
|
|
"Application": "SharpRSS"
|
|
}
|
|
},
|
|
"HTTP":
|
|
{
|
|
"HSTS":
|
|
{
|
|
"EnableHSTS": true,
|
|
"MaxAgeSeconds": 31536000,
|
|
"IncludeSubdomains": true,
|
|
"Preload": true
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|