Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / SYS.LogDmn
Private  Storage   

SYS.LogDmn


class SYS.LogDmn extends
%SYSTEM.Help

Management functionality for the log daemon. All the methods that modify the state of the log daemon require USE permission for the %Admin_Manage resource.

The log daemon is the LOGDMN routine. At predetermined intervals it scans various sources of logs (mgr/messages.log, Audit DB, etc), rewrites the messages in a specified format (name-value pairs or JSON) and sends them through a pipe to be consumed by an external program.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
6


Summary


Methods
Disable Enable Help Restart Start
Status Stop


Methods


• classmethod Disable() as %Status
Disable the log daemon
• classmethod Enable() as %Status
Enable the log daemon
• classmethod Restart(ByRef pid As %Integer) as %Status
Restart the log daemon
• classmethod Start(ByRef pid As %Integer) as %Status
Start the log daemon
• classmethod Status() as %Integer
Returns status of the log daemon
  • >0 - running (pid)
  • 0 - not running
  • -1 - died
• classmethod Stop() as %Status
Stop the log daemon