Setting Logging Properties
This section discusses:
-
General logging properties.
-
Message logging properties.
-
Error logging properties.
-
Overriding the IP address used for gateway logging.
The logging properties specify parameters for logging messaging activity and errors. You can find these properties in the section of the integrationGateway.properties file labeled LOGGING Section.
General Logging Properties
| Property | Description |
|---|---|
|
ig.log.level |
Enter a numeric value to specify the desired level of gateway logging and exception handling. Values are:
Note: Set the log level to 5 to capture the entire contents of incoming HTTP requests, including HTTP headers, in the integration gateway message log file. |
|
ig.log.backgroundImage |
Specify the background image to use when displaying error and message log documents. The image must be in jpg format. The default location and image name PSbackground.jpg. By default it is located in <PIA_HOME>\webserv\<DOMAIN>\applications\peoplesoft\PSIGW.war. Images in the default location don't require a path, but you can specify a full path to an image file in any other location. |
Message Logging Properties
| Property | Description |
|---|---|
|
ig.messageLog.filename |
Enter the full path and file name of an HTML file to use as a message log. This property is preset to <PIA_HOME>\webserv\<DOMAIN>\applications\peoplesoft\PSIGW.war\WEB_INF\msgLog.html. |
|
ig.messageLog.maxSize |
Specify the maximum size of the message log, in kilobytes (KB). This property is preset to 10000, or 10 megabytes (MB). When this limit is reached, the log is archived, and a timestamp is appended to the file name. |
|
ig.messageLog.maxNbBackupFiles |
Specify the number of archived files to keep on disk. Use the value 0 to retain all backed up files. This property is preset to 5. |
Error Logging Properties
| Property | Description |
|---|---|
|
ig.errorLog.filename |
Enter the full path and file name of an HTML file to use as an error log. This property is preset to <PIA_HOME>\webserv\<DOMAIN>\applications\peoplesoft\PSIGW.war\WEB-INF\errorLog.html. |
|
ig.errorLog.maxSize |
Specify the maximum size of the error log in kilobytes (KB). This property is preset to 1000, or 1 MB. When this limit is reached, the log is archived, and a timestamp is appended to the file name. |
|
ig.errorLog.maxNbBackupFiles |
Specify the number of archived error files to keep on disk. Use the value 0 to retain all backed up files. This property is preset to 5. |