SFTP Adapter Log

A log is maintained for SFTP adapter activity. The file is called sftp.adapter-<adapterName>.log where adapterName is the name of the adapter as configured in Secure Proxy.

The SFTP adapter log is set up to maintain 10 archive files. When the log files reaches 50MB, a new file is created and the archive file is renamed to sftp.adapterAdapterA.log.1. If older versions exist, they will be renamed first. For example, an older log called sftp.adapter<adapterName>.log is renamed to sftp.adapter<adapterName>.log1 and the sftp.adapter<adapterName>.log 2 is renamed sftp.adapter<adapterName>.log 3. The maximum number of versions to keep is configured in the log.properties file.

Following are the properties for the SFTP log that you can change in the log.properties file:

Field

Description

sftp.log.enable

Identifies if SFTP adapter messages are written to a separate log.

Valid values are true | false The default value is false. If this parameter is set to true, the adapter log information is written to the log file.

sftp.log.filename

Location and file name to assign to an SFTP adapter log. Default= ../logs/sftp.adapter-adaptername.log where adaptername is the name assigned to the adapter in Secure Proxy.

sftp.log.maxfilesize

The maximum size of an SFTP log file before archiving it and creating a new file. Default=50MB.

sftp.log.maxbackupindex

The number of backup files to maintain. Default=10.