From: Tomas Olvecky Date: Fri, 13 Jun 2014 10:53:55 +0000 (+0200) Subject: Bug 1176: Lower log level when netconf ssh connection fails X-Git-Tag: release/helium~612^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=fc3dd3326f8d82eb5822d0c29442fdc9506c413e;hp=--cc;p=controller.git Bug 1176: Lower log level when netconf ssh connection fails Change-Id: I041a91040d33d055b8d05c3251f357c826e20c09 Signed-off-by: Tomas Olvecky --- fc3dd3326f8d82eb5822d0c29442fdc9506c413e diff --git a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/Handshaker.java b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/Handshaker.java index d999d378d9..8045d32a50 100644 --- a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/Handshaker.java +++ b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/Handshaker.java @@ -100,14 +100,14 @@ public class Handshaker implements Runnable { @Override public void run() { // let ganymed process handshake - logger.trace("{} SocketThread is started", session); + logger.trace("{} is started", session); try { // TODO this should be guarded with a timer to prevent resource exhaustion ganymedConnection.connect(); } catch (IOException e) { - logger.warn("{} SocketThread error ", session, e); + logger.debug("{} connection error", session, e); } - logger.trace("{} SocketThread is exiting", session); + logger.trace("{} is exiting", session); } }