What's new in logging features for cron tasks

Administrators can use enhanced logging features for cron tasks to track and analyze cron task activity. They also can limit the size and number of log files for the PMWoGen cron task.

The following enhancements are added for cron task logging:
Correlation ID field on History tab in the Cron Task Setup application
When administrators review cron task history, they can use the Correlation ID to filter out the logs that are related to the cron task run. Administrators can also use this feature to automate monitoring of long-running cron tasks.
Descriptive data in the log file messages for cron tasks
When the correlation ID system property is enabled, descriptive information about a cron task is displayed at the beginning of the messages for that cron task. Administrators can use this information to identify the purpose of the cron task. This feature is especially useful for long-running cron tasks or instances where the cron task is not completed.
Support for a rolling logger for the PMWoGen cron task
You can limit the size and number of log files that are saved for the PMWoGen cron task. You add a cron task logger that rolls over to a new log file when the current log reaches a specified size. Older versions are deleted after a specified number of instances. The log level can be less granular than the level that is specified for the parent cron task logger.
Learn more about adding a rolling logger to the PMWoGen cron task