Author: manik.surtani(a)jboss.com
Date: 2009-03-02 07:32:06 -0500 (Mon, 02 Mar 2009)
New Revision: 7821
Modified:
core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java
Log:
Log guarding
Modified:
core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java 2009-03-02
11:16:48 UTC (rev 7820)
+++
core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java 2009-03-02
12:32:06 UTC (rev 7821)
@@ -216,7 +216,7 @@
while (object instanceof LogEntry)
{
List<WriteCommand> mods = ((LogEntry)object).getModifications();
- log.trace("Mods = " + mods);
+ if (trace) log.trace("Mods = " + mods);
for (WriteCommand mod : mods)
{
InvocationContext ctx = container.get();