class SYS.LogDmn extends %SYSTEM.HelpManagement 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.
classmethod Disable() as %Status
Disable the log daemon
classmethod Enable() as %Status
Enable the log daemon
Restart the log daemon
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