We Have Moved
The IBM Application Gateway has a new home - docs.verify.ibm.com/gateway
The documentation on this site will no longer be maintained after v21.02, please update your bookmarks.
Transaction
Description
Defines and enables transaction logging. This logging can be used to pinpoint performance issues in the environment.
Properties
The following table(s) describe the configuration properties for this component:
Name | Type | Constraints | Description |
---|---|---|---|
max_file_size | number | Minimum:1 Maximum:unlimited Default:262144 |
The maximum size of the log file (in kilobytes) before it is rolled over. If not specified the file size is 262144 KB (256MB). |
file_name | string | The name of the generated log file. If the file name is supplied without any path information the file will be written to the '/var/iag/logs' directory. If the file name contains path information the hosting directory must be created and available before the container is started. |
|
compress | boolean | Values: true,false Default:false |
A boolean which indicates whether the generated file should be compressed. If not specified the files will not be compressed. |
max_files | number | Minimum:1 Maximum:unlimited Default:1 |
The maximum number of files to be created, including rollover files. If not specified the max number of files is unlimited. |
Example
logging:
transaction:
file_name: trans.log
max_file_size: 1024
max_files: 5
compress: true