From 19eb584866105b7dcebbb6b5c7aa0b576c3b98bb Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 2 Jul 2014 11:05:28 +0200 Subject: [PATCH] BUG-692 Improve log message when negotiation fails Change-Id: I767094a86d989f9c3eb074928b890391d6e53783 Signed-off-by: Maros Marsalek --- .../netconf/nettyutil/AbstractNetconfSessionNegotiator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSessionNegotiator.java b/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSessionNegotiator.java index f0e1b3f51f..c770bde920 100644 --- a/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSessionNegotiator.java +++ b/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSessionNegotiator.java @@ -236,7 +236,7 @@ extends AbstractSessionNegotiator { private final class ExceptionHandlingInboundChannelHandler extends ChannelInboundHandlerAdapter { @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) { - logger.warn("An exception occurred during negotiation on channel {}", channel.localAddress(), cause); + logger.warn("An exception occurred during negotiation with {}", channel.remoteAddress(), cause); cancelTimeout(); negotiationFailed(cause); changeState(State.FAILED); -- 2.36.6