Maximum number of informational message log files

The log@info.parameters maxfiles parameter specifies the maximum number of information log files that are maintained.

log@info.parameters maxfiles=<number>
Description
Set the value in the range 1 - 9999 to specify the maximum number of files. A value greater than 1 results in the file name of the log file being suffixed by sequence numbers until the number of files specified in log@info.parameters maxfiles have been created. For example, if you set the value of log@error.parameters filename to ctg.log, and log@error.parameters maxfiles field to 4, then the following files can be created:
ctg.log.3  This is the oldest log file. 
ctg.log.2
ctg.log.1
ctg.log.0  This is the log file currently being written to.

If you set the log@error.parameters filesize parameter to 0, then the value of the log@error.parameters maxfiles parameter is ignored. If you set thelog@error.parameters filesize parameter to greater than 0, then the value of log@error.parameters maxfiles must be greater than 1. 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.

The following example shows the syntax required to specify that informational messages are sent to a log file.
log@info.dest=<file|console>
log@info.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 1.
Configuration Tool
In the Configuration Tool, the value of log@info.parameters maxfiles is set to the same value as log@error.parameters maxfiles. You can specify a different value for log@info.parameters maxfiles by clearing the Use the same settings as specified for Error and Warning log check box in the Logging tab of the Gateway daemon settings page. You can then enter a different value for log@info.parameters maxfiles in the Maximum number of information log files field.

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/logmaxfilesinfo.html