Skip to main content

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:unlimited
The maximum size of the log file (in bytes) before it is rolled over. If not specified the file size is unlimited.
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:unlimited
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