Change log level from ERROR to warn.
[ovsdb.git] / library / impl / src / main / java / org / opendaylight / ovsdb / lib / jsonrpc / ExceptionHandler.java
index 69709c3c220e5ded45e54f99fb468f8aea49717e..d85b23443385dde4eb352c9d89807ea7c1447fd5 100644 (file)
@@ -35,7 +35,7 @@ public class ExceptionHandler extends ChannelDuplexHandler {
     @Override
     public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
         if (ctx.channel().isActive()) {
-            LOG.error("Exception occurred while processing connection pipeline", cause);
+            LOG.warn("Exception occurred while processing connection pipeline", cause);
             if ((cause instanceof InvalidEncodingException)
                     || (cause instanceof TooLongFrameException || (cause instanceof DecoderException))) {
                 LOG.info("Disconnecting channel to ovsdb {}", ctx.channel());