mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-14 17:44:20 +01:00
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"Database":
|
|
{
|
|
"Server": "SQLite",
|
|
"Connection": "Data Source=SRSS.db"
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"System": "Information",
|
|
"Microsoft": "Debug",
|
|
"Microsoft.Hosting.Lifetime": "Debug",
|
|
"Microsoft.AspNetCore": "Debug",
|
|
"Microsoft.AspNetCore.Authentication": "Debug"
|
|
}
|
|
},
|
|
"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": 300,
|
|
"IncludeSubdomains": true,
|
|
"Preload": true
|
|
}
|
|
}
|
|
}
|