This article covers the various log files used by SFTP Gateway.
Log file locations
These are the logs of interest when troubleshooting SFTP Gateway:
/opt/sftpgw/log/application.log /opt/sftpgw/log/sftp-audit.log /var/log/secure /var/log/sftpgw/cloudinit.log
And this is what these logs do:
application.log: Java events and errors.
sftp-audit.log: SFTP actions and authentication.
secure: SSH authentication events
cloudinit.log: Server related issues that happen at first launch
It's often helpful to tail a log file while troubleshooting, to get a sense of timing:
tail -f application.log
If you want more verbose logging, insert this property into the
To apply your change, restart the Java service:
sudo su service sftpgw-admin-api restart