Maximum file size of error and warning messages

The log@error.parameters filesize parameter specifies the maximum size, in kilobytes, of the error and warning log file.

log@error.parameters filesize=<number>
Description
Set the value in the range 0 - 2,097,151 to specify the maximum file size. If you set a value of 0, no limit is placed on the file size. If you set a value that is greater than 0, then you must specify that more than one log file must be keep. If not, the error message CTG8413E is generated and all messages are redirected to the default log file <product_data_path>\cicstg.log on Windows platforms or they are sent to the console on UNIX platforms. To specify that more than one log file must be keep, set log@error.parameters maxfiles to a value greater than 1.
The following example shows the syntax required to specify that error and warning messages are sent to a log file.
log@error.dest=<file|console>
log@error.parameters=filename=<name>;\;
maxfiles=<number>;
filesize=<number>;

This parameter is in the GATEWAY section of the configuration file.

Default value
If this parameter is not specified, the default value is 0.
Configuration Tool
In the Configuration Tool on, you can set the value of log@error.parameters filesize in the Error log maximum log size (KB) field in the Logging tab of the Gateway daemon settings page.

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//ctgunx/logfilesizeerr.html