OSB: How to display source hostname during a SFTP connection issues
When FTP is used we were able to see the source hostname that the Proxy Service was trying to connect to.
Now we use SFTP to connect to remote SFTP servers and the hostname is no longer displayed in the logs.
Example: We have an SFTP Proxy Service that polls a remote host every couple of minutes for files. If the remote host is suddenly unavailable the error return is generic and no longer displays the Proxy Service or hostname that tried to establish the connection.
<Aug 24, 2021 5:00:19,719 PM EDT> <Error> <oracle.osb.transports.ftp.ftptransport> <OSB-381105> <Error occurred for the service endpoint: com.bea.wli.sb.transports.TransportException: Not able to connect to the remote server