Logging Configuration
Overview
This section of the Administration area provides system administrators with the ability to configure additional logging for troubleshooting purposes.
Configuring Additional Logging
To configure additional logging for various areas of the system:
- Click the system menu button ( ) > Administration > Logging Configuration.
- Under the Add Log Category or Package section, click the first dropdown menu to display a list of available categories for logging. Alternatively, specific class names (provided to you by Hannon Hill) may be entered into this field.
- After selecting a category/package, use the dropdown menu below that field to select the type of logging to enable for the selected category (
Fatal
,Error
,Warn
,Info
,Debug
). - Click Add Category.
- Repeat steps 2-4 above to add logging for additional categories or classes if needed.
Reset Logging
To reset all logging back to the default configuration:
- Click the system menu button ( ) > Administration > Logging Configuration.
- Click Reset to Default.
- Click OK on the confirmation screen that appears.
Performance Logging
Whenever DEBUG level logging is enabled for a particular class, performance information for that class will also be logged. Performance logging statements are written to a separate file named cascade-performance.log
. This log contains information about how long it took to execute specific parts of the class being logged.
It is also possible to enable performance logging for all classes in the system by selecting the Performance
category and enabling the DEBUG logging level for it.
Slow Execution Logging
Whenever DEBUG level logging is enabled for a particular class, information about operations that take an excessive amount of time will also be logged to a separate slow execution log. This log file is namedcascade-slow-execution.log
.In addition to the information included in the Performance log, the Slow Execution log also includes a full stack trace for slow operations.
It is also possible to enable Slow Execution log for all classes in the system by selecting the
Slow Execution
category and enabling the DEBUG logging level for it.