Skip to main content

%Net.Remote.ActivityLog

Class %Net.Remote.ActivityLog Extends %Persistent [ System = 3 ]

Recent activity log for Object Gateway Servers.

Properties

DateTime

Property DateTime As %TimeStamp;

RecordType

Property RecordType As %String(DISPLAYLIST = ",Debug,Info,Warning,Error", VALUELIST = ",0,1,2,3");

GatewayName

Property GatewayName As %String;

GatewayType

Property GatewayType As %String;

Server

Property Server As %String;

Port

Property Port As %String;

Text

Property Text As %String(MAXLEN = "");

Job

Property Job As %String;

Methods

Purge

ClassMethod Purge(pDays As %Integer = 7, Output pDeleted As %Integer) As %Status

Lookup by Gateway Name. Lookup by Gateway Name and DateTime range. Lookup all Gateways by DateTime range. Purge Gateway activity log records older than a given number of days (default 7 days).