Platform logging

If you need to troubleshoot system problems, you can use the Platform Logging tab of the Administrator Console to enable debug-level logging at real time. For example, if workflows are slow, you can enable debugging for the workflow logs. You can also check the performance timings by using the Platform Logging tab or by using the Performance Analyzer.

You can set the logging level in the Platform Logging tab. You can then test and analyze performance, such as extended formula performance, query performance, and workflow performance. Any changes that are made in the Platform Logging tab are kept in temporary memory. When the server is restarted, the system reverts to the log4j.xml configuration settings.

You can roll most of the log files, which renames the current log file with the current date and time, and starts a new log file.

You can add your own custom log categories in the /home/default/config/CustomLogCategories.xml configuration file.

Note: In the Performance Monitor tab of the Administrator Console, at the bottom of the Key Metrics section, you can also click Record to Log to save the current metrics (such as heap memory utilization) to a log file for future analysis. This log file is named systemmetrics.log.