-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappsettings.json
More file actions
56 lines (56 loc) · 1.52 KB
/
appsettings.json
File metadata and controls
56 lines (56 loc) · 1.52 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
{
"ProcessMonitor": {
"ProcessFilters": [
"3D*",
"notepad.exe",
"Notepad.exe",
"calc.exe",
"CalculatorApp.exe",
"powershell.exe",
"cmd.exe",
"chrome*",
"my-p?ocess.exe",
"firefox.exe",
"WINWORD.EXE",
"EXCEL.EXE",
"OUTLOOK.EXE",
"POWERPNT.EXE"
],
"ProcessExcludeFilters": ["system*", "svchost.exe", "*temp*"],
"CacheExpiryMinutes": 30,
"StatusUpdateIntervalMinutes": 5,
"CacheCleanupIntervalMinutes": 10
},
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"ProcessMonitorWorker": "Information"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "C:/ProgramData/ProcessMonitorService/logs/service-.json",
"rollingInterval": "Day",
"formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact",
"rollOnFileSizeLimit": true,
"fileSizeLimitBytes": 10485760,
"retainedFileCountLimit": 30
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ]
}
}