You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ All properties in the `MSSqlServerSinkOptions` object are discussed in the [MSSq
60
60
61
61
Table configuration with the optional `ColumnOptions` object is a lengthy subject discussed in the [ColumnOptions Object](#columnoptions-object) topic and other related topics.
62
62
63
-
Like other sinks, `restrictedToMinimumLevel` controls the `LogEventLevel` messages that are processed by this sink.
63
+
Like other sinks, `restrictedToMinimumLevel` controls the `LogEventLevel` messages that are processed by this sink. This parameter is ignored if the property [LevelSwitch](#levelswitch) in the sink options is set.
64
64
65
65
This is a "periodic batching sink." The sink will queue a certain number of log events before they're actually written to SQL Server as a bulk insert operation. There is also a timeout period so that the batch is always written even if it has not been filled. By default, the batch size is 50 rows and the timeout is 5 seconds. You can change these through by setting the `MSSqlServerSinkOptions.BatchPostingLimit` and `MSSqlServerSinkOptions.BatchPeriod` arguments.
66
66
@@ -244,6 +244,7 @@ Basic settings of the sink are configured using the properties in a `MSSqlServer
244
244
*`BatchPostingLimit`
245
245
*`BatchPeriod`
246
246
*`EagerlyEmitFirstEvent`
247
+
*`LevelSwitch`
247
248
248
249
### TableName
249
250
@@ -281,6 +282,9 @@ This setting is not used by the audit sink as it writes each event immediately a
281
282
A Flag to eagerly write a batch to the database containing the first received event regardless of `BatchPostingLimit` or `BatchPeriod`. It defaults to `true`.
282
283
This setting is not used by the audit sink as it writes each event immediately and not in a batched manner.
283
284
285
+
### LevelSwitch
286
+
287
+
A switch allowing the pass-through minimum level to be changed at runtime. If this is set, the parameter `restrictedToMinimumLevel` in the [sink configuration method](#sink-configuration) is ignored.
0 commit comments