-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.json
More file actions
66 lines (66 loc) · 1.68 KB
/
appsettings.Development.json
File metadata and controls
66 lines (66 loc) · 1.68 KB
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
{
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"ThingConnect.Pulse.Services.MonitoringService": "Debug",
"ThingConnect.Pulse.Services.ProbeService": "Debug",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext:l}: {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "logs\\pulse-dev-.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 7,
"fileSizeLimitBytes": 5242880,
"rollOnFileSizeLimit": true,
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] [{SourceContext:l}] {Message:lj}{NewLine}{Exception}"
}
}
],
"Properties": {
"Environment": "Development"
}
},
"Logging": {
"Retention": {
"DaysToKeep": 7,
"MaxTotalSizeMB": 100,
"CleanupSchedule": "02:00:00"
}
},
"ConnectionStrings": {
"DefaultConnection": "Data Source=C:\\ProgramData\\ThingConnect.Pulse\\data\\pulse.db"
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:8080"
}
}
},
"Pulse": {
"ConfigPath": "C:\\ProgramData\\ThingConnect.Pulse\\config\\config.yaml",
"DataRetentionDays": 60,
"ProbeSettings": {
"MaxConcurrentProbes": 100,
"TimeoutMs": 5000,
"RetryCount": 2,
"FlapDamping": {
"FailureThreshold": 2,
"SuccessThreshold": 2
}
}
}
}