Skip to content

Commit

Permalink
fixed indentation & config value (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmyMi authored Jan 28, 2025
1 parent bebe22f commit 4a15d75
Showing 3 changed files with 240 additions and 243 deletions.
143 changes: 70 additions & 73 deletions OutOfSchool/OutOfSchool.WebApi/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -1,76 +1,73 @@
{
"ConnectionStrings": {
"DefaultConnection": "server=localhost;user=root;password=rootPassword;database=out_of_school;guidformat=binary16",
"QuartzConnection": "server=localhost;user=root;password=rootPassword;database=out_of_school"
"ConnectionStrings": {
"DefaultConnection": "server=localhost;user=root;password=rootPassword;database=out_of_school;guidformat=binary16",
"QuartzConnection": "server=localhost;user=root;password=rootPassword;database=out_of_school"
},
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File",
"Serilog.Sinks.Debug",
"Serilog.Exceptions",
"Elastic.CommonSchema.Serilog"
],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Information",
"System": "Warning",
"Quartz.Core.QuartzSchedulerThread": "Warning",
"Quartz.Core.JobRunShell": "Warning",
"Elastic.Apm": "Information"
}
},
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File",
"Serilog.Sinks.Debug",
"Serilog.Exceptions",
"Elastic.CommonSchema.Serilog"
],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Information",
"System": "Warning",
"Quartz.Core.QuartzSchedulerThread": "Warning",
"Quartz.Core.JobRunShell": "Warning",
"Elastic.Apm": "Information"
}
},
"Enrich": [
"FromLogContext",
"FromGlobalLogContext",
"WithEcsHttpContext"
],
"WriteTo": [
{
"Name": "Console"
},
{
"Name": "File",
"Args": {
"path": "Logs/webapi.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 2,
"fileSizeLimitBytes": null,
"formatter": "Elastic.CommonSchema.Serilog.EcsTextFormatter, Elastic.CommonSchema.Serilog"
}
},
{ "Name": "Debug" }
]
},
"Elasticsearch": {
"EnsureIndex": false,
"CheckConnectivityDelayMs": 1000,
"ConnectionWaitingTimeSec": 1,
"EnableDebugMode": true,
"WorkshopIndexName": "workshop",
"Urls": [
"http://localhost:9200/"
],
"User": "admin",
"Password": "admin"
},
"Redis": {
"Password": "Qwerty123!"
},
"RedisForDraft": {
"AbsoluteExpirationRelativeToNowInterval": "07:00:00:00"
},
"Images": {
"TurnOnFakeImagesStorage": true
},
"AuthorizationServer": {
"ClientSecret": "outofschool_api_secret"
},
"ElasticApm": {
"VerifyServerCert": false
},
"GeoCoding": {
"UseFakeGeocoder": true
}
"Enrich": [
"FromLogContext",
"FromGlobalLogContext",
"WithEcsHttpContext"
],
"WriteTo": [
{
"Name": "Console"
},
{
"Name": "File",
"Args": {
"path": "Logs/webapi.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 2,
"fileSizeLimitBytes": null,
"formatter": "Elastic.CommonSchema.Serilog.EcsTextFormatter, Elastic.CommonSchema.Serilog"
}
},
{ "Name": "Debug" }
]
},
"Elasticsearch": {
"EnsureIndex": false,
"CheckConnectivityDelayMs": 1000,
"ConnectionWaitingTimeSec": 1,
"EnableDebugMode": true,
"WorkshopIndexName": "workshop",
"Urls": [
"http://localhost:9200/"
],
"User": "admin",
"Password": "admin"
},
"Redis": {
"Password": "Qwerty123!"
},
"Images": {
"TurnOnFakeImagesStorage": true
},
"AuthorizationServer": {
"ClientSecret": "outofschool_api_secret"
},
"ElasticApm": {
"VerifyServerCert": false
},
"GeoCoding": {
"UseFakeGeocoder": true
}
}
Loading

0 comments on commit 4a15d75

Please sign in to comment.