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
If`DataLength` issettoavaluedifferentto -1longertextwillbetruncated. See [Messagecolumn](#message) fordetails.
458
458
459
459
### Level
460
460
@@ -484,7 +484,7 @@ When the `ConvertToUtc` property is set to `true`, the time stamp is adjusted to
484
484
485
485
When an exception is logged as part of the log event, the exception message is stored here automatically. The `DataType` must be `nvarchar`.
486
486
487
-
Similar to the columns `Message` and `MessageTemplate`, setting `DataLength`of `Exception`to a specific value different from -1 will effectively truncate any exception message to the stated length in `DataLength`.
487
+
Similar to the columns `Message` and `MessageTemplate`, setting `DataLength` to a specific value different from -1 will effectively truncate any exception message to the stated length in `DataLength`. See [Message column](#message) for details.
488
488
489
489
### Properties
490
490
@@ -512,7 +512,10 @@ The content of this column is rendered as JSON by default or with a custom IText
512
512
513
513
## Custom Property Columns
514
514
515
-
By default, any log event properties you include in your log statements will be saved to the XML `Properties` column or the JSON `LogEvent` column. But they can also be stored in their own individual columns via the `AdditionalColumns` collection. This adds overhead to write operations but is very useful for frequently-queried properties. Only `ColumnName` is required; the default configuration is `varchar(max)`. If you specify a DataLength on a column of character data types (NVarChar, VarChar, Char, NChar) the string will be automatically truncated to the datalength to fit in the column.
515
+
By default, any log event properties you include in your log statements will be saved to the XML `Properties` column or the JSON `LogEvent` column. But they can also be stored in their own individual columns via the `AdditionalColumns` collection. This adds overhead to write operations but is very useful for frequently-queried properties. Only `ColumnName` is required; the default configuration is `varchar(max)`.
516
+
517
+
If you specify a DataLength other than -1 on a column of character data types (NVarChar, VarChar, Char, NChar) longer text will be truncated to the specified length. See [Message column](#message) for details.
0 commit comments