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.
Method Inventory (Including Private)
classmethod Disable() as %Status [ Language = objectscript ]
Disable the log daemon
classmethod Enable() as %Status [ Language = objectscript ]
Enable the log daemon
Restart the log daemon
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