commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bas van Driel (Jira)" <j...@apache.org>
Subject [jira] [Commented] (VFS-643) VFS should not log at the INFO level
Date Wed, 02 Oct 2019 11:33:00 GMT

    [ https://issues.apache.org/jira/browse/VFS-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942726#comment-16942726
] 

Bas van Driel commented on VFS-643:
-----------------------------------

We are using 2.2, and i'm seeing INFO loglines with respect to SSH communication:

 

October 2nd 2019, 06:31:49.613 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
Disconnecting from <some-server> port <some-port>

October 2nd 2019, 06:31:49.613 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
Disconnecting from <some-server> port <some-port>

October 2nd 2019, 06:28:49.559 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
Authentication succeeded (publickey).

October 2nd 2019, 06:28:44.908 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
Authentications that can continue: publickey

October 2nd 2019, 06:28:44.908 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
Next authentication method: publickey

October 2nd 2019, 06:28:44.907 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
SSH_MSG_SERVICE_ACCEPT received

October 2nd 2019, 06:28:44.906 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
SSH_MSG_SERVICE_REQUEST sent

October 2nd 2019, 06:28:44.905 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
ssh_rsa_verify: signature true

October 2nd 2019, 06:28:44.905 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
SSH_MSG_NEWKEYS sent

October 2nd 2019, 06:28:44.905 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
SSH_MSG_NEWKEYS received

October 2nd 2019, 06:28:44.876 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
expecting SSH_MSG_KEX_DH_GEX_REPLY

October 2nd 2019, 06:28:44.876 INFO org.apache.commons.vfs2.provider.sftp.SftpClientFactory
SSH_MSG_KEX_DH_GEX_INIT

 

and a few more. This is all ssh handshake stuff...should that not be buried in DEBUG?

> VFS should not log at the INFO level
> ------------------------------------
>
>                 Key: VFS-643
>                 URL: https://issues.apache.org/jira/browse/VFS-643
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0, 2.1
>            Reporter: Gary D. Gregory
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 2.2
>
>
> Due to the low-level nature of this library, we should not log at the INFO level.
> There is only one event logged at the INFO level ATM. This changes the level to DEBUG:
> {noformat}
> vfs.impl/temp-dir.debug=Using "{0}" as temporary files store.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message