Files
PIbd-22_Pyzhov_E.A_TheSquirrel/SquirrelContract/SquirrelWebApi/appsettings.json
2025-03-22 01:18:27 +04:00

29 lines
713 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "../logs/squirrel-.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {CorrelationId} {Level:u3} {Username} {Message:lj}{Exception}{NewLine}"
}
}
]
},
"AllowedHosts": "*",
//"DataBaseSettings": {
// "ConnectionString": "Host=127.0.0.1;Port=5432;Database=Squirrel;Username=postgres;Password=postgres;"
//}
}