Skip to main content

ChildProcessArgs

Specify the arguments for irislogd used in structured logging.

Synopsis

[Logging] ChildProcessArgs=Options

ChildProcessArgs is not specified by default; however, when ChildProcessArgs is specified, it will take precedence over the deprecated ChildProcessLaunchCommand.

Description

ChildProcessArgs specifies the arguments for irislogd used in Structured Logging. irislogd is the name of an InterSystems executable file that receives the log data. When using ChildProcessArgs, irislogd is the only executable available to receive the log data. The arguments specified by ChildProcessArgs determine what irislogd does with the log data.

You can pass the following arguments to irislogd:

Argument Purpose
-d Emit diagnostic and error messages
-e errfilename Write errors and diagnostic messages to the given file.
-f logfilename Write log messages to the given file.
-h hostname Includes the given host name in the structured log file.
-i irisinstance Includes the given instance name in the structured log file.
-s Write log messages to the Unix® syslog facility (Unix® only)

Changing This Parameter

You can change this parameter using the Management Portal, the ^LOGDMN routine, or the class-based API (all described in Configure Structured Logging). Alternatively, you can edit the CPF in a text editor (as described in Editing the Active CPF).

FeedbackOpens in a new tab