Logs
The ThingWorx logs record information, show what is running, and list errors. The log level determines how much granularity to display in the log. You can set the log level for each log under Monitoring > [choose the log name] > Configure. The logs are kept in separate files on the server under /ThingworxStorage/logs.
* 
Monitor your log sizes and purge them regularly by backing up the files first and then discarding them.
You can filter log data by timestamp, log level, user, and so on. You can also limit the number of rows to display. The data written to a particular log is determined by the settings configured in the System Property Editor.
Log Search Functionality
All the logs have search functionality that behaves as a contains search, so any log containing the entered search text is shown in the results. The following behavior is also true for all logs:
Application Log
The Application Log contains all of the messages that ThingWorx logs while operating. Depending on your settings, this log can display errors only or every execution of the platform.
Communication Log
The Communication Log contains all communication activity with ThingWorx.
Composer Log
The Composer Log records all activity performed in the Composer and its interaction with the platform layer.
* 
The Composer Log is not available in ThingWorx 8.3 and later.
Configuration Log
The Configuration Log contains all of the messages that the ThingWorx application generates for any create, modify, and delete done in ThingWorx. For example, if a Thing or Mashup is created, modified, or deleted, that information will be included in the Configuration Log.
* 
This is currently not usable for roll-backs.
Database Log
The Database Log contains all messages related to database activity.
Script Log
The Script Log contains all of the messages that the ThingWorx application generates while executing JavaScript services. You can use logger.warn (or logger.info, logger.trace, logger.debug, logger.error). By default, the log displays warnings and errors, so we recommend using the .warn function to log this information from the services you are running. Generally, ThingWorx will only publish errors that were incurred while running a service to this log.
* 
By default, the script timeout setting on the ThingWorx Platform is 30 seconds. If a script runs longer, the platform terminates the execution. A ThingWorx administrator can configure the script timeout in the Basic Settings section of the platform-settings.json configuration file. See platform-settings.json Configuration Details.
Security Log
The Security Log contains all of the messages that the ThingWorx application generates regarding users. This information can include login data and page requests depending on the log level.
Script Error Log
The Script Error Log contains the stack trace for scripts created in the platform and is only available in the ScriptErrorLog.log file located in ThingworxStorage/logs.
Was this helpful?