Class Reference
%SYS.Task.CheckLogging
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [USER] >  [%SYS] >  [Task] >  [CheckLogging]
Private  Storage

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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 1


Summary

Properties
%RunDate %RunTime DaysForAlert DaysForShutoff

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject GetCollectionType GetPropertyName GetSettings
GetTaskName OnSubmit OnTask SetSettings


Parameters

• parameter TaskName = "CheckLogging";
This defines the user-visible name of this task; This is defined in subclasses.

Properties

• 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.

Methods

• method OnTask() as %Status
Check activity for ^%ISCLOG and ISCSOAP