Author: jbellis
Date: Fri May 13 19:16:09 2011
New Revision: 1102873

URL: http://svn.apache.org/viewvc?rev=1102873&view=rev
Log:
switch purge-compacted-sstables-at-startup logging to DEBUG level
patch by jbellis; reviewed by rcoli for CASSANDRA-2411

Modified:
    
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
    
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTable.java

Modified: 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java?rev=1102873&r1=1102872&r2=1102873&view=diff
==============================================================================
--- 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
 (original)
+++ 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
 Fri May 13 19:16:09 2011
@@ -461,6 +461,7 @@ public class ColumnFamilyStore implement
      */
     public static void scrubDataDirectories(String table, String columnFamily)
     {
+        logger.info("Removing compacted SSTable files (see 
http://wiki.apache.org/cassandra/MemtableSSTable)");
         for (Map.Entry<Descriptor,Set<Component>> sstableFiles : files(table, 
columnFamily, true).entrySet())
         {
             Descriptor desc = sstableFiles.getKey();

Modified: 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTable.java
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTable.java?rev=1102873&r1=1102872&r2=1102873&view=diff
==============================================================================
--- 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTable.java
 (original)
+++ 
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTable.java
 Fri May 13 19:16:09 2011
@@ -156,7 +156,7 @@ public abstract class SSTable
         {
             throw new IOError(e);
         }
-        logger.info("Deleted " + desc);
+        logger.debug("Deleted {}", desc);
         return true;
     }
 


Reply via email to