Logging Configuration

Logging Configuration

To update the logging configuration, edit the
log4j.xml
file located in the
[install_directory]/gateway/config/
directory. By default, logs are written to a file named
infa-mft-gateway.log
, located in the
[install_directory]/gateway/logs
directory.
Managed File Transfer
Gateway can also send messages to an enterprise Syslog server. To change the file logging settings, edit one or more parameters in the
<appender name="FileAppender">
section of the configuration file. The following table describes logging parameters:
Attribute Name
Description
File
The file to which logs are written. The value can either be an absolute path or relative to the installation directory. Escape any backslashes used in the path by adding another backslash (e.g. C:\\logs\\infagateway.log).
MaxFileSize
The maximum size that the log file is allowed to reach before being rolled over to backup files. The value must be a whole number, followed by KB, MB or GB to represent Kilobytes, Megabytes and Gigabytes respectively.
MaxBackupIndex
The maximum number of retained backup files. When the backup files reach the specified limit, the oldest backup is deleted. The value must be a whole number. If set to zero, no backup files are created.

0 COMMENTS

We’d like to hear from you!