-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappsettings.json
More file actions
98 lines (98 loc) · 2.27 KB
/
appsettings.json
File metadata and controls
98 lines (98 loc) · 2.27 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"Database": {
"FileName": "TimeTracking.db",
"ConnectionString": {
"Mode": "ReadWriteCreate",
"Cache": "Shared",
"Pooling": true
}
},
"Logging": {
"MinimumLevel": "Debug",
"FilePath": "./Logs/pricisapp-{Date}.log",
"RetainedFileCount": 7,
"FileSizeLimitBytes": 10000000
},
"UI": {
"DefaultTheme": "System Default",
"AvailableThemes": [
"System Default",
"Light",
"Dark",
"Blue",
"Green",
"High Contrast"
],
"DefaultFont": {
"Name": "Segoe UI",
"Size": 9.0
}
},
"Sentry": {
"Dsn": "",
"MinimumEventLevel": "Error",
"SendDefaultPii": false,
"AttachStacktrace": true,
"Debug": false,
"DiagnosticsLevel": "Error"
},
"AppCenter": {
"SecretKey": "",
"EnableAnalytics": true,
"EnableCrashes": true
},
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File"
],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "./Logs/pricisapp-.json",
"rollingInterval": "Day",
"fileSizeLimitBytes": 10485760,
"retainedFileCountLimit": 7,
"formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog"
}
},
{
"Name": "File",
"Args": {
"path": "./Logs/pricisapp-.txt",
"rollingInterval": "Day",
"fileSizeLimitBytes": 10485760,
"retainedFileCountLimit": 7,
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {Level:u3}] {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": [
"FromLogContext",
"WithMachineName",
"WithThreadId",
"WithProcessId"
],
"Properties": {
"Application": "PricisApp"
}
},
"CacheSettings": {
"DefaultDurationMinutes": 5,
"TaskCacheDurationMinutes": 10
}
}