Article - CS319152

Using loggers in ThingWorx to output a message in the ScriptLog does not store the message

Modified: 07-Jan-2020   


Applies To

  • ThingWorx Platform 8.2 SP1

Description

  • Using logger.info(""), or logger.debug(""), or logger.trace("") to output a message in the Script.Log it does not store the message when choosing from INFO to INFO into Levels, or from DEBUG to INFO, or ALL
  • When using logger.warn(""), or logger.error("") with the Levels set to ALL then messages are stored in the Script.Log and can be seen in Composer Viewer Log Message
  • Changing the Levels for granularity reasons does not appear in the documentation
  • Only when selecting from Settings the level of logging for Script.Log it will output the messages in the Composer Viewer Log Message
This is a printer-friendly version of Article 319152 and may be out of date. For the latest version click CS319152