Backend: Format appsettings.json
This commit is contained in:
parent
218895b286
commit
dbf6bc25bb
@ -10,10 +10,21 @@
|
|||||||
"Default": "Server=127.0.0.1;Port=5432;Database=postgres;User Id=postgres;Password=asd;"
|
"Default": "Server=127.0.0.1;Port=5432;Database=postgres;User Id=postgres;Password=asd;"
|
||||||
},
|
},
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
|
"Using": [
|
||||||
|
"Serilog.Sinks.Console",
|
||||||
|
"Serilog.Sinks.File"
|
||||||
|
],
|
||||||
"WriteTo": [
|
"WriteTo": [
|
||||||
{"Name": "Console"},
|
{
|
||||||
{ "Name": "File", "Args": { "path": "logs/log-.txt", "rollingInterval": "Day" } }
|
"Name": "Console"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "File",
|
||||||
|
"Args": {
|
||||||
|
"path": "logs/log-.txt",
|
||||||
|
"rollingInterval": "Day"
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user