Trace Log Cleanup

The Trace Log Cleanup service task removes Console and services logs based on a user specified time period. These logs can be viewed using the Console Administrator Tool (CAT). If the Console encounters an unexpected issue, a message is written to a log file. Storing large amount of logs in the Console database may slow the performance of the Console over time. To delete old, unnecessary logs stored in the Console database, you can run the Trace Log Cleanup service task.

The Trace Log Cleanup Service Task has the following options:

Field Description
Information This text field is used to provide a description of the purpose of the trace log cleanup task being created and is only present to help users manage their tasks.
Remove items older than X hours, days, months, years For example, if you enter 30 and days, all logs older than 30 days are deleted.
Location This option only displays if you have chosen to replicate your database prior to installation of the Console, but is disabled for this service task.
Resume when no other tasks are pending When selected, the "Repeat task every:" is ignored when no tasks are pending and the task starts immediately.
Maximum task run time

Specify the amount of time that the service task has to complete. For example, if you set the Maximum task run time to 5 minutes, after 5 minutes has elapsed from the time the service task first executes, the service job stops and its status shows as Aborted. The default setting is indefinitely. The following options are available:

  • Indefinitely - The task runs until completion.
  • Minutes - Set the number of minutes the service task has to complete. If the service task does not complete within the allotted time it aborts.
  • Hours - Set the number of hours the service task has to complete. If the service task does not complete within the allotted time it aborts.
  • Days - Select the number of days the service task has to complete. If the service task does not complete within the allotted time it aborts.