User: ejort
Date: 02/01/12 13:14:26
Modified: src/main/org/jboss/ejb CacheKey.java
Log:
Remove directory reference to log4j Category in preparation for log4j 1.2
Revision Changes Path
1.19 +3 -3 jboss/src/main/org/jboss/ejb/CacheKey.java
Index: CacheKey.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/CacheKey.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- CacheKey.java 2001/11/14 01:19:40 1.18
+++ CacheKey.java 2002/01/12 21:14:26 1.19
@@ -13,7 +13,7 @@
import java.rmi.MarshalledObject;
-import org.apache.log4j.Category;
+import org.jboss.logging.Logger;
/**
* CacheKey is an encapsulation of both the PrimaryKey and a
@@ -29,7 +29,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.19 $
*/
public class CacheKey
implements Externalizable
@@ -102,7 +102,7 @@
// should probably throw a nested exception here, but
// for now instead of printStackTrace, lets log it
//
- Category log = Category.getInstance(this.getClass());
+ Logger log = Logger.getLogger(this.getClass());
log.error("failed to initialize", e);
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development