-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappsettings.json
More file actions
93 lines (93 loc) · 2.07 KB
/
Copy pathappsettings.json
File metadata and controls
93 lines (93 loc) · 2.07 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
{
"Mtlog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Default"
}
},
{
"Name": "Conditional",
"Args": {
"name": "critical-alerts",
"when": "level",
"minimumLevel": "Error",
"writeTo": {
"Name": "File",
"Args": {
"path": "logs/alerts.log"
}
}
}
},
{
"Name": "Conditional",
"Args": {
"name": "audit-trail",
"when": "property",
"property": "Audit",
"writeTo": {
"Name": "File",
"Args": {
"path": "logs/audit.log"
}
}
}
},
{
"Name": "Router",
"Args": {
"mode": "FirstMatch",
"routes": [
{
"name": "errors",
"when": "level",
"minimumLevel": "Error",
"writeTo": {
"Name": "File",
"Args": {
"path": "logs/errors.log"
}
}
},
{
"name": "warnings",
"when": "level",
"minimumLevel": "Warning",
"writeTo": {
"Name": "File",
"Args": {
"path": "logs/warnings.log"
}
}
},
{
"name": "info",
"when": "level",
"minimumLevel": "Information",
"writeTo": {
"Name": "File",
"Args": {
"path": "logs/info.log"
}
}
}
],
"defaultSink": {
"Name": "File",
"Args": {
"path": "logs/debug.log"
}
}
}
}
],
"Enrich": ["WithMachineName", "WithThreadId"],
"Properties": {
"Application": "RoutingExample",
"Environment": "Development"
}
}
}