Configuring the Persistent Transaction Logs
This section describes how to configure the persistent transaction log parameters.
The transaction logs are saved in the transaction log file which reside in the transaction logs directory of OAM pod.
config
logging
transaction
persist [ disable | enable ]
max-file-size max_filesize
max-rotation max_rotation
end
NOTES:
-
logging – Enters the logging configuration mode.
-
transaction– Enters the transaction log configuration mode.
-
persist [ disable | enable ]– Configures the ability to write the transaction logs to the transaction log file.
-
max-file-size max_filesize – Specifies the maximum size (in MB) of the transaction logs that must be preserved in the file. The default size is 50 MB. The accepted range is 1–10000 MB.
-
max-rotation max_rotation – Specifies the maximum number of files that must be stored in the folder. After the specified number is reached, the files are rotated, which means that the oldest file is deleted and the latest log file is added to the folder. For example, if the folder has files a1.txt–a.10.txt and when the a.11.txt is added, then a1.txt is deleted. The default number is 10. The accepted range is 2–1000.