Skip to content

Commit

Permalink
Merge pull request #462 from tulumvinh/2.x
Browse files Browse the repository at this point in the history
minimize verbose logging
  • Loading branch information
tulumvinh committed Apr 21, 2016
2 parents 9f6af03 + de1ab1b commit c235f35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ public boolean isValidBackupDir(File keyspaceDir, File columnFamilyDir, File bac
return false;
String keyspaceName = keyspaceDir.getName();
if (FILTER_KEYSPACE.contains(keyspaceName)) {
logger.info(keyspaceName + " is not consider a valid keyspace backup directory, will be bypass.");
logger.debug(keyspaceName + " is not consider a valid keyspace backup directory, will be bypass.");
return false;
}

String columnFamilyName = columnFamilyDir.getName();

if (FILTER_COLUMN_FAMILY.containsKey(keyspaceName) && FILTER_COLUMN_FAMILY.get(keyspaceName).contains(columnFamilyName)) {
logger.info(columnFamilyName + " is not consider a valid CF backup directory, will be bypass.");
logger.debug(columnFamilyName + " is not consider a valid CF backup directory, will be bypass.");
return false;
}

Expand Down

0 comments on commit c235f35

Please sign in to comment.