Logging updated
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / DelegatingInboundHandler.java
index 4279bcbbe498c619f2844a7d61ce24357e16765a..ded7bc8655547d8229b5f2f6dd8e16ac1a1e148b 100644 (file)
@@ -35,20 +35,19 @@ public class DelegatingInboundHandler extends ChannelInboundHandlerAdapter {
      * @param connectionAdapter reference for adapter communicating with upper layers outside library
      */
     public DelegatingInboundHandler(MessageConsumer connectionAdapter) {
-        LOGGER.debug("Creating DelegatingInboundHandler");
+        LOGGER.trace("Creating DelegatingInboundHandler");
         consumer = connectionAdapter;
     }
     
     @Override
     public void channelRead(ChannelHandlerContext ctx, final Object msg)
             throws Exception {
-        LOGGER.debug("Reading");
         consumer.consume((DataObject) msg);
     }
     
     @Override
     public void channelInactive(ChannelHandlerContext ctx) throws Exception {
-        LOGGER.info("Channel inactive");
+        LOGGER.debug("Channel inactive");
         if (!inactiveMessageSent) {
             DisconnectEventBuilder builder = new DisconnectEventBuilder();
             builder.setInfo("Channel inactive");
@@ -59,7 +58,7 @@ public class DelegatingInboundHandler extends ChannelInboundHandlerAdapter {
 
     @Override
     public void channelUnregistered(ChannelHandlerContext ctx) throws Exception {
-        LOGGER.info("Channel unregistered");
+        LOGGER.debug("Channel unregistered");
         if (!inactiveMessageSent) {
             DisconnectEventBuilder builder = new DisconnectEventBuilder();
             builder.setInfo("Channel unregistered");