use slf4j api for logging

Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5dab451a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5dab451a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5dab451a

Branch: refs/heads/trunk
Commit: 5dab451afc6a9b63206bf2428022d641682b60b2
Parents: ccd436c
Author: Yuki Morishita <yu...@apache.org>
Authored: Fri Jul 27 10:17:18 2012 -0500
Committer: Brandon Williams <brandonwilli...@apache.org>
Committed: Fri Jul 27 11:51:40 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/db/CounterColumn.java     |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5dab451a/src/java/org/apache/cassandra/db/CounterColumn.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/CounterColumn.java 
b/src/java/org/apache/cassandra/db/CounterColumn.java
index 7871b7c..2ea0779 100644
--- a/src/java/org/apache/cassandra/db/CounterColumn.java
+++ b/src/java/org/apache/cassandra/db/CounterColumn.java
@@ -25,7 +25,8 @@ import java.security.MessageDigest;
 import java.util.concurrent.TimeoutException;
 import java.util.Collection;
 
-import org.apache.log4j.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import org.apache.cassandra.config.CFMetaData;
 import org.apache.cassandra.config.DatabaseDescriptor;
@@ -47,7 +48,7 @@ import org.apache.cassandra.utils.*;
  */
 public class CounterColumn extends Column
 {
-    private static final Logger logger = Logger.getLogger(CounterColumn.class);
+    private static final Logger logger = 
LoggerFactory.getLogger(CounterColumn.class);
 
     protected static final CounterContext contextManager = 
CounterContext.instance();
 

Reply via email to