Data fields
This page documents the [dataFields]
configuration section.
The information going into the log file can be configured. Fields can be disabled if not relevant for post-processing. See Log file for more information on the fields.
Warning
It is recommended to use the default configuration for widest post-processing support
Default
[dataFields]
timestamp = true ; Log message timestamp
type = true ; Log type of identifier
id = true ; Log message ID
dataLength = false ; Log number of message data bytes
data = true ; Log message data
Fields explained
timestamp
Log file timestamp field.
Type |
Options |
---|---|
Boolean |
true, false |
true
: Include timestampfalse
: Exclude timestamp
type
Log file message type field.
Type |
Options |
---|---|
Boolean |
true, false |
true
: Include message typefalse
: Exclude message type
id
Log file message ID field.
Type |
Options |
---|---|
Boolean |
true, false |
true
: Include message identifierfalse
: Exclude message identifier
dataLength
Log file message payload length field.
Type |
Options |
---|---|
Boolean |
true, false |
true
: Include message payload lengthfalse
: Exclude message payload length
Note
The length of data can be inferred from the data
field
data
Log file message payload field.
Type |
Options |
---|---|
Boolean |
true, false |
true
: Include message payloadfalse
: Exclude message payload