Author: manik.surtani(a)jboss.com
Date: 2008-09-19 09:01:33 -0400 (Fri, 19 Sep 2008)
New Revision: 6760
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
More logging
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-09-19
11:15:40 UTC (rev 6759)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-09-19
13:01:33 UTC (rev 6760)
@@ -674,8 +674,11 @@
private ReplicableCommand unmarshallCommand(ObjectInputStream in,
UnmarshalledReferences refMap) throws Exception
{
+ if (trace) log.trace("Unmarshalling method call!!");
short methodId = in.readShort();
+ if (trace) log.trace("Method ID for command is " + methodId);
byte numArgs = in.readByte();
+ if (trace) log.trace("NumArgs for command is " + numArgs);
Object[] args = null;
if (numArgs > 0)
@@ -685,6 +688,7 @@
for (int i = 0; i < numArgs; i++)
{
args[i] = unmarshallObject(in, refMap);
+ if (trace) log.trace("Arg " + i + " is " + args[i]);
}
}