Article - CS225420

How to use logger statements to log from a custom JavaScript service in ThingWorx

Modified: 31-Aug-2026   


Applies To

  • ThingWorx Platform 8.5 to 9.5

Description

  • How to log custom error messages in ThingWorx
  • How to use logger statements in ThingWorx to log custom error messages from a custom JavaScript service
  • Which log file contains the logger statements generated by logger.info()?
  • Not able to see any output from logger statements in the ThingworxStorage\logs\ScriptLog.log fille
This is a printer-friendly version of Article 225420 and may be out of date. For the latest version click CS225420