Author: manik.surtani(a)jboss.com
Date: 2008-01-04 09:24:13 -0500 (Fri, 04 Jan 2008)
New Revision: 4981
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java
Log:
Initialised loggers in constructor
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-01-04
13:34:44 UTC (rev 4980)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-01-04
14:24:13 UTC (rev 4981)
@@ -63,6 +63,7 @@
public CacheMarshaller200()
{
+ initLogger();
}
/**
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java 2008-01-04
13:34:44 UTC (rev 4980)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java 2008-01-04
14:24:13 UTC (rev 4981)
@@ -1,7 +1,5 @@
package org.jboss.cache.marshall;
-import org.apache.commons.logging.LogFactory;
-
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
@@ -20,7 +18,7 @@
{
public CacheMarshaller210()
{
- log = LogFactory.getLog(CacheMarshaller210.class);
+ initLogger();
}
/**