2024-06-16 17:20:30 +02:00
|
|
|
{
|
2024-06-16 21:09:49 +02:00
|
|
|
"Database":
|
|
|
|
{
|
|
|
|
"Server": "SQLite",
|
|
|
|
"Connection": "Data Source=SRSS.db"
|
|
|
|
},
|
|
|
|
"Serilog": {
|
|
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
|
|
|
"MinimumLevel": {
|
2024-06-16 17:20:30 +02:00
|
|
|
"Default": "Information",
|
2024-06-16 21:09:49 +02:00
|
|
|
"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"
|
2024-06-16 17:20:30 +02:00
|
|
|
}
|
|
|
|
},
|
2024-07-06 00:02:02 +02:00
|
|
|
"HTTP":
|
|
|
|
{
|
|
|
|
"HSTS":
|
|
|
|
{
|
|
|
|
"EnableHSTS": true,
|
|
|
|
"MaxAgeSeconds": 31536000,
|
|
|
|
"IncludeSubdomains": true,
|
|
|
|
"Preload": true
|
|
|
|
}
|
|
|
|
},
|
2024-06-16 17:20:30 +02:00
|
|
|
"AllowedHosts": "*"
|
|
|
|
}
|