-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.json
66 lines (66 loc) · 1.87 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"title": "Check-Yo-Self!",
"defaultLanguage": "en",
"baseUri": "{host}/",
"baseUriService": "{host}/api",
"version": "1.0.0",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Trace",
"System": "Trace",
"Microsoft": "Trace"
}
},
"Serilog": {
"Using": [
"Serilog.Enrichers.Environment",
"Serilog.Sinks.RollingFile",
"Serilog.Sinks.Console"
],
"MinimumLevel": {
"Default": "Verbose",
"Override": {
"Microsoft": "Verbose"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:l4}] [{MachineName}] [{RequestId}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "RollingFile",
"Args": {
"pathFormat": "logs/log-{Date}.txt",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:l4}] [{MachineName}] [{RequestId}] {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": [
"FromLogContext",
"WithMachineName"
]
},
"CheckYoSelf": {
"monthsApiEndpoint": "api/PaycheckCalculator/GetMonthsWithMultiplePaychecks",
"checksApiEndpoint": "api/PaycheckCalculator/GetPaychecks",
"listEmployeesEndpoint": "api/Employees",
"queryForEmployeesByFullNameEndpoint": "api/Employees/GetByFullName",
"queryForEmployeesByLastNameEndpoint": "api/Employees/GetByLastName",
"employeesApiBaseUrl": "http://localhost:5051/",
"employeesButtonVisible": "true"
},
"Elasticsearch": {
"uri": "http://localhost:9200",
"username": "elastic",
"password": "ElasticAdmin1",
"indexName": "employees",
"maxBulkInsertCount": 100,
"numberOfReplicas": 1,
"numberOfShards": 5,
"useAuthentication": "false"
}
}