Skip to main content
Skip table of contents

Diagnostic Log Configuration

Dynamic diagnostic log configuration is activated using the -diag-log startup option and specifying the diagnostic log options. Note that the file name specification is preceded by a '+' character.

TEXT
> run CLIENT --diag-log +$vol.subvol.logcfg  [--monitor diag-log:15 ] ...

Configuration Reference

The log configuration must be preceded by a [diag-log] header

Option

Description

enabled

The value may be "0" to disable message dumping or "1" to enable it. The default is "0".

subvol

Specifies the subvol in which the individual diagnostic log files will be created. If not specified the logs current subvol of the CLIENT program.

replyCodeFilter

A list of reply code values that should be selected for logging, specified as a range.

httpStatusFilter

A list of HTTP status values that should be selected for logging, specified as a range.

content

A list of selectors indicating the content that should be selected for logging. The following selectors are available:

  • default - Include all diagnostic information

  • basic - Include basic diagnostic information. Request and reply HTTP body and IPM data is omitted.

  • body - Include basic information and the request and reply HTTP body. 

  • ipm - Include basic information and the request and reply IPM data.

If omitted, "default" is used.

Examples

TEXT
# Log to a file. Only log when the LightWave reply code is 1 or 2  or the HTTP status code is 400-999
[diag-log]
enabled=1
subvol=$data1.diaglogs
replyCodeFilter=1,2
httpStatusFilter=400:999
content=body


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.