Skip to main content

Debugging Payloads in Twin Mapper

In order to change logging level in Twin Mapper, the environment variable LOG_LEVEL should be set. Available levels:

  • info
  • debug
  • trace

In case there is a lot of messages going through the Twin Mapper, it's possible to enable detailed logs only for the one product type. In order to enable it, the environment variable DEBUG_DEVICE_PREFIX should be set. The value of this variable should be a device prefix or job name of product to be debugged. In order to disable this logging, this environment variable should be set to empty value.