wsg.conf reference

The wsg.conf file contains the configuration information for the web service gateway.

Location

Description: This file is installed with IBM® Spectrum Symphony and is located in %EGO_CONFDIR%\ on Windows, and in $EGO_CONFDIR/ on Linux®.

WSG_DEBUG_DETAIL

Description: Enables or disables the debug details log for the web service gateway.

Syntax: WSG_DEBUG_DETAIL=value

Valid values:
Any value
To enable the debug details log for the web service gateway, specify the WSG_DEBUG_DETAIL parameter with any value. As long as the wsg.conf file contains this parameter, the debug details log for the web service gateway is enabled. For example, WSG_DEBUG_DETAIL, WSG_DEBUG_DETAIL=, WSG_DEBUG_DETAIL=0, or WSG_DEBUG_DETAIL=10, all enable the log.
No WSG_DEBUG_DETAIL defined
To disable the debug details log for the web service gateway, do not include the WSG_DEBUG_DETAIL parameter in the wsg.conf configuration file (or remove the parameter from the file, if it already exists).

WSG_LOGDIR

Description: Specifies the location for the web service gateway log file.

Syntax: WSG_LOGDIR=path_to_log_file

Valid values: Any valid directory. For example, on Windows, you can specify WSG_LOGDIR=C:\Program Files\IBM\IBM Spectrum Symphony\eservice\wsg\log.

Default value: Windows: Installation_top\eservice\wsg\log

Default value: Linux: $EGO_TOP/eservice/wsg/log

WSG_LOG_MAX_ROTATE

Description: Specifies the maximum number of log file archives to maintain. If the value for this parameter is set to 0, log rotation is disabled. If the value is not valid, the default value is used.

Syntax: WSG_LOG_MAX_ROTATE=number_of_archives

Valid values: 0 to 2147483647

Default value: 10

WSG_LOG_MAX_SIZE

Description: Specifies the maximum file size in MB for WSG logs. When the log file reaches the specified size, the file will be archived if both WSG_LOG_MAX_SIZE and WSG_LOG_MAX_ROTATE are set to a non zero value.

If the value for this parameter is set to 0, log rotation is disabled. If the value is not valid, the default value is used.

Syntax: WSG_LOG_MAX_SIZE=number_of_Megabytes

Valid values: 0 to 1999

Default value: 100

WSG_PORT

Description: Specifies the web service gateway service port number.

Syntax: WSG_PORT=port_number

Valid values: Any valid and unused port number

Default value: 9090

WSG_SSL

Description: Specifies whether or not to accept secure connections. Specify YES to ensure that the web service gateway is available through TLS.

Syntax: WSG_SSL=YES | NO

Valid values: YES | NO

Default value: NO