Defines a z/OS Connect File System logger interceptor.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
logName | string | Log file name pattern used for payload logging. | |
sequence | int Min: 0 Max: 2147483647 | 0 | Sequence in which the interceptor is processed with respect to others. |
bufferedLogging | boolean | false | Indicates whether entries to the log is buffered before they are written to the log file. |
bufferSize | int | 8192 | Buffer size in bytes to be used when the bufferLogging attribute is set to true. |
logOption |
| ALL | Log option that controls what is logged. ALL Indicates that both request and response data are logged. REQUEST Indicates that only request data is logged. RESPONSE Indicates that only response data is logged. |
logPath | string | File system location in which the file log is created. If the environment variable ${server.output.dir} is configured, its value is used by default. | |
maxPayloadSize | int | 524288 | Maximum payload size in characters allowed to be written to the log file. |
encoding | string | UTF-8 | Encoding used when writting to the log file. |
rollOffLogPolicy |
| SIZE | Indicates that log file should be rolled off based on size or duration. SIZE Indicates that the log file should be roll off based on the size of the log. DURATION Indicates that the roll off log policy will be based on the elapsed time since the active log file was created. |
rollOffLogPolicySize | int | 52428800 | Roll off policy size in bytes. |
rollOffLogPolicyDuration | int | 1440 | Roll off policy duration in minutes. |