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 timestamp

  • false: Exclude timestamp


type

Log file message type field.

Type

Options

Boolean

true, false

  • true: Include message type

  • false: Exclude message type


id

Log file message ID field.

Type

Options

Boolean

true, false

  • true: Include message identifier

  • false: Exclude message identifier


dataLength

Log file message payload length field.

Type

Options

Boolean

true, false

  • true: Include message payload length

  • false: 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 payload

  • false: Exclude message payload