Skip to content

Commit 908b0e9

Browse files
committed
Removed unnecessary threshold property and adjusted BatchIntervalInMilliseconds property
#50 #51
1 parent cfcfc6e commit 908b0e9

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

src/SampleWebAPI/appsettings.Development.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"Logging": {
33
"IncludeScopes": false,
44
"LogLevel": {
5-
"Default": "Debug",
6-
"System": "Information",
7-
"Microsoft": "Information",
5+
"Default": "Trace",
6+
"System": "Debug",
7+
"Microsoft": "Debug",
88
"Splunk": "Trace"
99
}
1010
},
1111
"Splunk": {
1212
"HecConfiguration": {
13-
"BatchIntervalInMiliseconds": 5000,
13+
"BatchIntervalInMilliseconds": 5000,
1414
"BatchSizeCount": 10,
1515
"ChannelIdType": "None",
1616
"DefaultTimeoutInMiliseconds": 10000,
@@ -21,7 +21,6 @@
2121
"SocketConfiguration": {
2222
"HostName": "localhost",
2323
"Port": 4242
24-
},
25-
"Threshold": "Trace"
24+
}
2625
}
2726
}

src/SampleWebAPI/appsettings.json

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
{
22
"Logging": {
33
"IncludeScopes": false,
4-
"Debug": {
5-
"LogLevel": {
6-
"Default": "Warning"
7-
}
8-
},
9-
"Console": {
10-
"LogLevel": {
11-
"Default": "Warning",
12-
"Splunk": "Trace"
13-
}
14-
},
4+
"LogLevel": {
5+
"Default": "Information",
6+
"System": "Warning",
7+
"Microsoft": "Warning",
8+
"Splunk": "Trace"
9+
}
10+
},
1511
"Splunk": {
1612
"HecConfiguration": {
17-
"BatchIntervalInMiliseconds": 5000,
13+
"BatchIntervalInMilliseconds": 5000,
1814
"BatchSizeCount": 10,
1915
"ChannelIdType": "None",
2016
"DefaultTimeoutInMiliseconds": 10000,
@@ -25,8 +21,7 @@
2521
"SocketConfiguration": {
2622
"HostName": "localhost",
2723
"Port": 4242
28-
},
29-
"Threshold": "Trace"
24+
}
3025
}
3126
}
3227
}

0 commit comments

Comments
 (0)