-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathappsettings.json
43 lines (43 loc) · 1.03 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"ConnectionStrings": {
"DefaultConnection": "Server=mssql;Database=Store;User=sa;Password=!MyComplexPassword"
},
"SqlServerRetryingOptions": {
"MaxRetryCount": 5,
"MaxSecondsRetryDelay": 5,
"ErrorNumbersToAdd": []
},
"TransactionOptions": {
"IsolationLevel": "ReadCommitted"
},
"HealthChecksPatterns": {
"Health": "/health",
"Liveness": "/health/live",
"Readiness": "/health/ready"
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Default": "Information",
"Microsoft": "Information",
"Microsoft.AspNetCore.HttpLogging": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"Formatter": "Serilog.Formatting.Elasticsearch.ElasticsearchJsonFormatter, Serilog.Formatting.Elasticsearch"
}
}
],
"Enrich": [
"FromLogContext",
"WithMachineName",
"WithThreadId"
]
},
"AllowedHosts": "*"
}