Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

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

Inherited Members

Inherited Methods

FeedbackOpens in a new tab