You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2015/02/23 16:30:05 UTC
[04/15] mina-sshd git commit: [SSHD-411] SSH_FX_OP_UNSUPPORTED should
not be logged as error
[SSHD-411] SSH_FX_OP_UNSUPPORTED should not be logged as error
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/90414db9
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/90414db9
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/90414db9
Branch: refs/heads/master
Commit: 90414db93c21e47ab153aa40bdbdf3cff5d706d7
Parents: 22581fb
Author: Guillaume Nodet <gn...@apache.org>
Authored: Sat Feb 21 21:55:12 2015 +0100
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Mon Feb 23 16:21:30 2015 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/90414db9/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java b/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
index 700e61d..f515445 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
@@ -766,7 +766,7 @@ public class SftpSubsystem implements Command, Runnable, SessionAware, FileSyste
break;
}
default: {
- log.error("Received: {}", type);
+ log.warn("Received: {}", type);
sendStatus(id, SSH_FX_OP_UNSUPPORTED, "Command " + type + " is unsupported or not implemented");
break;
}
@@ -783,7 +783,7 @@ public class SftpSubsystem implements Command, Runnable, SessionAware, FileSyste
doVersionSelect(buffer, id);
break;
default:
- log.error("Received unsupported SSH_FXP_EXTENDED({})", extension);
+ log.info("Received unsupported SSH_FXP_EXTENDED({})", extension);
sendStatus(id, SSH_FX_OP_UNSUPPORTED, "Command SSH_FXP_EXTENDED(" + extension + ") is unsupported or not implemented");
break;
}