forked from Ed-Fi-Alliance-OSS/Ed-Fi-DataImport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging_Sql.json
92 lines (92 loc) · 2.77 KB
/
logging_Sql.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
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
{
"Serilog": {
"WriteTo": [
{
"Name": "MSSqlServer",
"Args": {
"connectionString": "defaultConnection",
"sinkOptionsSection": {
"tableName": "ApplicationLogs",
"autoCreateSqlTable": false
},
"columnOptionsSection": {
"disableTriggers": true,
"clusteredColumnstoreIndex": false,
"primaryKeyColumnName": "Id",
"addStandardColumns": [ "Message", "Exception", "LogEvent" ],
"removeStandardColumns": [ "MessageTemplate", "Properties", "Level" ],
"additionalColumns": [
{
"ColumnName": "MachineName",
"DataType": "nvarchar",
"DataLength": 200,
"PropertyName": "MachineName"
},
{
"ColumnName": "Level",
"DataType": "nvarchar",
"DataLength": 5,
"PropertyName": "LevelShortName"
},
{
"ColumnName": "UserName",
"DataType": "nvarchar",
"DataLength": 200,
"PropertyName": "UserName"
},
{
"ColumnName": "Logger",
"DataType": "nvarchar",
"DataLength": 300,
"PropertyName": "SourceContext"
},
{
"ColumnName": "ServerName",
"DataType": "nvarchar",
"DataLength": 200,
"PropertyName": "ServerName"
},
{
"ColumnName": "Port",
"DataType": "nvarchar",
"DataLength": 100,
"PropertyName": "ServerPort"
},
{
"ColumnName": "Url",
"DataType": "nvarchar",
"DataLength": 2000,
"PropertyName": "Url"
},
{
"ColumnName": "ServerAddress",
"DataType": "nvarchar",
"DataLength": 100,
"PropertyName": "LocalAddress"
},
{
"ColumnName": "RemoteAddress",
"DataType": "nvarchar",
"DataLength": -1,
"PropertyName": "RemoteAddress"
}
],
"Id": {
"nonClusteredIndex": false,
"DataType": "bigint"
},
"TimeStamp": {
"columnName": "Logged",
"DataType": "datetimeoffset",
"DataLength": 7
},
"LogEvent": {
"columnName": "Properties",
"excludeStandardColumns": true
}
}
}
}
]
}
}