Fix Logger use
[openflowjava.git] / simple-client / src / main / java / org / opendaylight / openflowjava / protocol / impl / clients / SimpleClientHandler.java
index 01e114bf15aabbbd5281e1131a121c464af9b6c6..acc538340d9115190fa17eeb45ddabf67ddf55c0 100644 (file)
@@ -43,7 +43,7 @@ public class SimpleClientHandler extends ChannelInboundHandlerAdapter {
     public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
         ByteBuf bb = (ByteBuf) msg;
         if (LOGGER.isDebugEnabled()) {
-            LOGGER.debug("<< " + ByteBufUtils.byteBufToHexString(bb));
+            LOGGER.debug("<< {}", ByteBufUtils.byteBufToHexString(bb));
         }
         int length = bb.getUnsignedShort(bb.readerIndex() + LENGTH_INDEX_IN_HEADER);
         LOGGER.trace("SimpleClientHandler - start of read");