AppCtrlScript

MAY Computer

Help

LOG2EVTSTATS

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

Adds an entry to the Nudger (MAY Computer Task Scheduler) Event Statistics database.

 

Syntax

LOG2EVTSTATS <EventType>, <EventName>, <EventSubject>[, <Source>][, <Message>][, <Info>][, <User>][, <Host>][, <Table>][, <ProcessingTime>]
ADD2EVTSTATS <EventType>, <EventName>, <EventSubject>[, <Source>][, <Message>][, <Info>][, <User>][, <Host>][, <Table>][, <ProcessingTime>]

Part

Description

<EventType> I[NFO]|E[RROR]|W[ARNING]
<EventName> Event name. Typically <Application>.<Action>
<EventSubject> Event subject. Typically a document id, filename or oder object identifier.
<Source> Event source. Typically <Application>.<Host>. If missing current host name is assigned.
<Message> Event message text. Typically a brief information or error message. If missing an empty string is assigned.
<Info> Additional information related to the event or affected object. Typically a processed object or data file (if not too large) in text form (e.g. a DRD, DAI, Inifile, ...). If missing an empty string is assigned
<User> Current user triggering the event. Typically currently logged on user. If missing currently logged on user id is assigned.
<Host> Host triggering the event. Typically current hostname. If missing current hostname is assigned.
<Table> Optionally alternative statistics table name. Default is EvtStats.
<ProcessingTime> Processing time in format hh:mm:ss.