Log the incoming channel 93/20593/1
authorRobert Varga <rovarga@cisco.com>
Sat, 16 May 2015 12:24:11 +0000 (14:24 +0200)
committerRobert Varga <rovarga@cisco.com>
Sat, 16 May 2015 12:25:25 +0000 (14:25 +0200)
For debugging purposes it is useful to understand which channel is being
processed by a particular thread, especially when it is blasting
packets.

Change-Id: I4a12ed5350026d554937e818d824f7d63acff5f6
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/ConnectionAdapterImpl.java

index 20e4c2a83c62b2be22deb1f4d9f52d59f9ded1db..7dca196508671f2c3c46dea3710673d2867b7a9b 100644 (file)
@@ -265,7 +265,7 @@ public class ConnectionAdapterImpl implements ConnectionFacade {
 
     @Override
     public void consume(final DataObject message) {
-        LOG.debug("ConsumeIntern msg");
+        LOG.debug("ConsumeIntern msg on {}", channel);
         if (disconnectOccured ) {
             return;
         }