52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Enrichers.Environment", "Serilog.Enrichers.Process", "Serilog.Enrichers.Thread" ],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"System": "Warning",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Enrich": [
|
|
"FromLogContext",
|
|
"WithMachineName",
|
|
"WithThreadId",
|
|
"WithProcessId"
|
|
],
|
|
"Filter": [
|
|
{
|
|
"Name": "ByExcluding",
|
|
"Args": {
|
|
"expression": "@mt = 'An unhandled exception has occurred while executing the request.'"
|
|
}
|
|
}
|
|
],
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}",
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Backup": {
|
|
"Enabled": false,
|
|
"IntervalHours": 24,
|
|
"RetentionCount": 7,
|
|
"StorageTarget": "Local",
|
|
"LocalStoragePath": "backups",
|
|
"PgDumpPath": "pg_dump"
|
|
},
|
|
"Seed": {
|
|
"Enabled": true,
|
|
"Reset": true,
|
|
"Seasons": 4,
|
|
"PlayersPerTeam": 12
|
|
}
|
|
}
|