Error and warning messages destination

The log@error.dest parameter specifies the destination of error and warning messages displayed by the Gateway daemon.

log@error.dest=<file|console>
Description
Set the value to the type of destination used for error and warning messages. A destination type file, must be specified for Windows platforms. A destination type file, must be specified for UNIX platforms when the Gateway daemon is run as a background process. Otherwise, the destination type Console can be used to output to stderr.
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 on UNIX and Linux
If this parameter is not specified, the default value is console. When using ctgd to run as a background process the log destination must be configured to use file.
Default value on Windows
If this parameter is not specified, the default value is file. For more information about the default name and location of the log file, see Error and warning messages log file name.
Configuration Tool
In the Configuration Tool on UNIX platforms, you can set the value of log@error.dest in the Error and warning log destination 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/logdesterr.html