class %SYS.Task.CheckLogging
extends %SYS.Task.Definition
This Task will check that no logging mechanisms (either ^%ISCLOG or ISCSOAP) have
been left on unintentionally. You may specify how many consecutive days of activity will
create an alert, and how many will result in automatically shutting off the logging.
Entering "0" for either DaysForAlert or DaysForShutoff will disable that action.
parameter TaskName = "CheckLogging";
This defines the user-visible name of this task;
This is defined in subclasses.
property DaysForAlert
as %Integer [ InitialExpression = 2 ];
The number of consecutive days of active logging which will create an alert.
A value of "0" will disable the check.
property DaysForShutoff
as %Integer [ InitialExpression = 0 ];
The number of consecutive days of active logging which will cause the logging to be shut off.
A value of "0" will disable the check.
method OnTask()
as %Status
Check activity for ^%ISCLOG and ISCSOAP