This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %SYS.Task.PurgeErrorsAndLogs


class %SYS.Task.PurgeErrorsAndLogs extends %SYS.Task.Definition

This Task will purge errors (in the ^ERRORS global) that are older than the configured value.
It also renames the cconsole.log file if it is larger than the configured maximum size.
On a MultiValue system it also renames the mv.log file if it grows too large.
This Task is normally run nightly.

Method Inventory (Including Private)


parameter TaskName = PurgeErrorsAndLogs;
Inherited description: This defines the user-visible name of this task; This is defined in subclasses.

Methods (Including Private)

method OnTask() as %Status
This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)