SharpRSS/SharpRSS.Blazor/appsettings.json

58 lines
1.5 KiB
JSON
Raw Normal View History

{
"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"
}
},
2024-07-06 00:02:02 +02:00
"HTTP":
{
"HSTS":
{
"EnableHSTS": true,
"MaxAgeSeconds": 31536000,
"IncludeSubdomains": true,
"Preload": true
}
},
"AllowedHosts": "*"
}