cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [2/2] git commit: use slf4j api for logging
Date Fri, 27 Jul 2012 17:08:26 GMT
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/8227f43a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8227f43a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8227f43a

Branch: refs/heads/trunk
Commit: 8227f43a7553d492b63d297733baef38f1f433ce
Parents: ccd436c
Author: Yuki Morishita <yukim@apache.org>
Authored: Fri Jul 27 10:17:18 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Jul 27 12:03:55 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/8227f43a/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();
 


Mime
View raw message