[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-commits
Subject:    [4/6] git commit: Tone down logging for received packets to debug
From:       gnodet () apache ! org
Date:       2014-01-30 14:51:01
Message-ID: ecfca341a90343fbb699ab717754e558 () git ! apache ! org
[Download RAW message or body]

Tone down logging for received packets to debug

Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/8ea1e86a
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/8ea1e86a
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/8ea1e86a

Branch: refs/heads/master
Commit: 8ea1e86a4ddb3934ef832297e5641d6f069bd97e
Parents: f83185b
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Thu Jan 30 15:48:59 2014 +0100
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Thu Jan 30 15:48:59 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/sshd/client/kex/AbstractDHGClient.java   | 4 ++--
 .../src/main/java/org/apache/sshd/client/kex/DHGEX.java      | 8 ++++----
 .../src/main/java/org/apache/sshd/server/kex/DHGEX.java      | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/8ea1e86a/sshd-core/src/main/java/org/apache/sshd/client/kex/AbstractDHGClient.java
                
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/client/kex/AbstractDHGClient.java \
b/sshd-core/src/main/java/org/apache/sshd/client/kex/AbstractDHGClient.java index \
                f93bd83..872821b 100644
--- a/sshd-core/src/main/java/org/apache/sshd/client/kex/AbstractDHGClient.java
+++ b/sshd-core/src/main/java/org/apache/sshd/client/kex/AbstractDHGClient.java
@@ -77,7 +77,7 @@ public abstract class AbstractDHGClient implements KeyExchange {
         hash.init();
         e = dh.getE();
 
-        log.info("Send SSH_MSG_KEXDH_INIT");
+        log.debug("Send SSH_MSG_KEXDH_INIT");
         Buffer buffer = s.createBuffer(SshConstants.SSH_MSG_KEXDH_INIT, 0);
         buffer.putMPInt(e);
         session.writePacket(buffer);
@@ -92,7 +92,7 @@ public abstract class AbstractDHGClient implements KeyExchange {
                                    "Protocol error: expected packet \
SSH_MSG_KEXDH_REPLY, got " + cmd);  }
 
-        log.info("Received SSH_MSG_KEXDH_REPLY");
+        log.debug("Received SSH_MSG_KEXDH_REPLY");
         
         byte[] K_S = buffer.getBytes();
         f = buffer.getMPIntAsBytes();

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/8ea1e86a/sshd-core/src/main/java/org/apache/sshd/client/kex/DHGEX.java
                
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/client/kex/DHGEX.java \
b/sshd-core/src/main/java/org/apache/sshd/client/kex/DHGEX.java index \
                4eb033a..71e56c2 100644
--- a/sshd-core/src/main/java/org/apache/sshd/client/kex/DHGEX.java
+++ b/sshd-core/src/main/java/org/apache/sshd/client/kex/DHGEX.java
@@ -94,7 +94,7 @@ public class DHGEX implements KeyExchange {
         this.I_S = I_S;
         this.I_C = I_C;
 
-        log.info("Send SSH_MSG_KEX_DH_GEX_REQUEST");
+        log.debug("Send SSH_MSG_KEX_DH_GEX_REQUEST");
         Buffer buffer = \
session.createBuffer(SshConstants.SSH_MSG_KEX_DH_GEX_REQUEST, 0);  \
buffer.putInt(min);  buffer.putInt(prf);
@@ -112,7 +112,7 @@ public class DHGEX implements KeyExchange {
         }
 
         if (cmd == SshConstants.SSH_MSG_KEX_DH_GEX_GROUP) {
-            log.info("Received SSH_MSG_KEX_DH_GEX_GROUP");
+            log.debug("Received SSH_MSG_KEX_DH_GEX_GROUP");
             p = buffer.getMPIntAsBytes();
             g = buffer.getMPIntAsBytes();
 
@@ -121,7 +121,7 @@ public class DHGEX implements KeyExchange {
             hash.init();
             e = dh.getE();
 
-            log.info("Send SSH_MSG_KEX_DH_GEX_INIT");
+            log.debug("Send SSH_MSG_KEX_DH_GEX_INIT");
             buffer = session.createBuffer(SshConstants.SSH_MSG_KEX_DH_GEX_INIT, 0);
             buffer.putMPInt(e);
             session.writePacket(buffer);
@@ -130,7 +130,7 @@ public class DHGEX implements KeyExchange {
         }
 
         if (cmd == SshConstants.SSH_MSG_KEX_DH_GEX_REPLY) {
-            log.info("Received SSH_MSG_KEX_DH_GEX_REPLY");
+            log.debug("Received SSH_MSG_KEX_DH_GEX_REPLY");
             byte[] K_S = buffer.getBytes();
             f = buffer.getMPIntAsBytes();
             byte[] sig = buffer.getBytes();

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/8ea1e86a/sshd-core/src/main/java/org/apache/sshd/server/kex/DHGEX.java
                
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/kex/DHGEX.java \
b/sshd-core/src/main/java/org/apache/sshd/server/kex/DHGEX.java index \
                3231655..900366b 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/kex/DHGEX.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/kex/DHGEX.java
@@ -101,7 +101,7 @@ public class DHGEX implements KeyExchange {
         }
 
         if (cmd == SshConstants.SSH_MSG_KEX_DH_GEX_REQUEST) {
-            log.info("Received SSH_MSG_KEX_DH_GEX_REQUEST");
+            log.debug("Received SSH_MSG_KEX_DH_GEX_REQUEST");
             min = buffer.getInt();
             prf = buffer.getInt();
             max = buffer.getInt();
@@ -114,7 +114,7 @@ public class DHGEX implements KeyExchange {
             hash = dh.getHash();
             hash.init();
 
-            log.info("Send SSH_MSG_KEX_DH_GEX_GROUP");
+            log.debug("Send SSH_MSG_KEX_DH_GEX_GROUP");
             buffer = session.createBuffer(SshConstants.SSH_MSG_KEX_DH_GEX_GROUP, 0);
             buffer.putMPInt(dh.getP());
             buffer.putMPInt(dh.getG());
@@ -125,7 +125,7 @@ public class DHGEX implements KeyExchange {
         }
 
         if (cmd == SshConstants.SSH_MSG_KEX_DH_GEX_INIT) {
-            log.info("Received SSH_MSG_KEX_DH_GEX_INIT");
+            log.debug("Received SSH_MSG_KEX_DH_GEX_INIT");
             e = buffer.getMPIntAsBytes();
             dh.setF(e);
             K = dh.getK();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic