Author: david.lloyd(a)jboss.com
Date: 2008-11-14 11:52:00 -0500 (Fri, 14 Nov 2008)
New Revision: 4680
Modified:
remoting3/trunk/protocol/multiplex/src/main/java/org/jboss/remoting/protocol/multiplex/MultiplexReadHandler.java
Log:
Logging tweak
Modified:
remoting3/trunk/protocol/multiplex/src/main/java/org/jboss/remoting/protocol/multiplex/MultiplexReadHandler.java
===================================================================
---
remoting3/trunk/protocol/multiplex/src/main/java/org/jboss/remoting/protocol/multiplex/MultiplexReadHandler.java 2008-11-14
06:41:47 UTC (rev 4679)
+++
remoting3/trunk/protocol/multiplex/src/main/java/org/jboss/remoting/protocol/multiplex/MultiplexReadHandler.java 2008-11-14
16:52:00 UTC (rev 4680)
@@ -84,6 +84,7 @@
channel.resumeReads();
return;
}
+ log.trace("Received message:\n%s", Buffers.createDumper(buffer, 8,
1));
final MessageType msgType;
try {
msgType = MessageType.getMessageType(buffer.get() & 0xff);
@@ -91,7 +92,7 @@
log.trace("Received invalid message type");
return;
}
- log.trace("Received message type %s; dump:\n%s", msgType,
Buffers.createDumper(buffer, 8, 1));
+ log.trace("Decoded message type %s", msgType);
switch (msgType) {
case REQUEST: {
final int clientId = buffer.getInt();
Show replies by date