Home > Class Reference > %SYS namespace > SYS.LogDmn

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.

Method Inventory

Methods

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

Inherited Members

Inherited Methods