SFTP component produces large number of log events at INFO level

Solution Verified - Updated -

Issue

  • About 44 INFO level log events are produced covering the connection setup and disconnect, this seems excessive
  • As an example:
14:06:11,336 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> Connecting to localhost port 21000
14:06:11,338 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> Connection established
14:06:11,365 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> Remote version string: SSH-2.0-SSHD-CORE-0.14.0
14:06:11,366 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> Local version string: SSH-2.0-JSCH-0.1.49
14:06:11,366 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
14:06:11,431 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> aes256-ctr is not available.
14:06:11,431 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> aes192-ctr is not available.
14:06:11,432 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> aes256-cbc is not available.
14:06:11,432 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> aes192-cbc is not available.
14:06:11,432 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> arcfour256 is not available.
14:06:11,432 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> CheckKexes: diffie-hellman-group14-sha1
14:06:11,437 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> diffie-hellman-group14-sha1 is not available.
14:06:11,437 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_KEXINIT sent
14:06:11,438 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_KEXINIT received
14:06:11,438 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1
14:06:11,438 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: ssh-dss
14:06:11,438 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: aes128-ctr,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc
14:06:11,438 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: aes128-ctr,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: none
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: none
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: 
14:06:11,439 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server: 
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: ssh-rsa,ssh-dss
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
14:06:11,440 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: none
14:06:11,441 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: none
14:06:11,441 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: 
14:06:11,441 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client: 
14:06:11,441 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: server->client aes128-ctr hmac-md5 none
14:06:11,441 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> kex: client->server aes128-ctr hmac-md5 none
14:06:11,447 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_KEXDH_INIT sent
14:06:11,447 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> expecting SSH_MSG_KEXDH_REPLY
14:06:11,463 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> ssh_dss_verify: signature true
14:06:11,466 | WARN  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> Permanently added 'localhost' (DSA) to the list of known hosts.
14:06:11,467 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_NEWKEYS sent
14:06:11,468 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_NEWKEYS received
14:06:11,472 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_SERVICE_REQUEST sent
14:06:11,474 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | JSCH -> SSH_MSG_SERVICE_ACCEPT received
14:06:11,505 | INFO  | /Downloads/input | SftpOperations                   | 211 - org.apache.camel.camel-ftp - 2.12.0.redhat-610379 | Connected to sftp://rider@localhost:21000
14:06:11,506 | INFO  | /Downloads/input | RemoteFileProducer               | 142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | Connected and logged in to: Endpoint[sftp://rider:xxxxxx@localhost:21000/tmp/]

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content