Log Levels
The following log levels are supported:
Trace — The most detailed logs, useful for debugging while you develop an application. Trace logs can provide fine-grained information to track issues that are difficult to find.
Debug — Logs used to help in debugging issues. These log messages contain information about what the code is doing at the moment and the values of any important variables.
Info — Important system information, such as periodic tasks that are running and changes in the state of an application. In most cases, exceptions are not logged at this level.
Warn — Unexpected exceptions that are acceptable or that can be worked around. Any problems that could become errors, if left unattended.
Error —Issues that affect the usage or performance of the system.
Each level includes the messages of the lower levels in the hierarchy. For example, if the logging of the application is set to Trace, then Debug, Info, Warn, and Error levels are written to the log file. If the logging of the application is set to Warn, then only Warn and Error levels are written to the log.
Logs are very useful for debugging and troubleshooting an issue. Setting the log level to Trace, and re-running the application may help you find a problem quickly.
To set the log level, you can use the Log Settings tab in the page for monitoring connection servers in ThingWorx. You can also open the logback.xml file in a text editor, and add or edit the following lines:
<root level="info">
<appender-ref ref="LOG" />
The valid values for level are "error", "warn", "debug", "info", "trace", and "off".