X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fnetconf%2Fnetconf-ssh%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fnetty%2FEchoClient.java;fp=opendaylight%2Fnetconf%2Fnetconf-ssh%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fnetty%2FEchoClient.java;h=bdaee7957d277ef7bff5c9aafb81e1e0fcd85cb5;hb=462f9ceb7da71750eead2a15f47e6229980954ad;hp=b768e2b1d1ce08d8cef9585c538837157405bdc6;hpb=d5fcdd3416922d61f0bdebbe57e351456e3a3750;p=controller.git diff --git a/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java b/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java index b768e2b1d1..bdaee7957d 100644 --- a/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java +++ b/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java @@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory; * the server. */ public class EchoClient extends Thread { - private static final Logger logger = LoggerFactory.getLogger(EchoClient.class); + private static final Logger LOG = LoggerFactory.getLogger(EchoClient.class); private final ChannelInitializer channelInitializer; @@ -63,11 +63,11 @@ public class EchoClient extends Thread { // Wait until the connection is closed. f.channel().closeFuture().sync(); } catch (Exception e) { - logger.error("Error in client", e); + LOG.error("Error in client", e); throw new RuntimeException("Error in client", e); } finally { // Shut down the event loop to terminate all threads. - logger.info("Client is shutting down"); + LOG.info("Client is shutting down"); group.shutdownGracefully(); } }