diff --git a/core/src/main/java/me/prettyprint/cassandra/model/ConfigurableConsistencyLevel.java b/core/src/main/java/me/prettyprint/cassandra/model/ConfigurableConsistencyLevel.java index 8cc17787f..664a909bf 100644 --- a/core/src/main/java/me/prettyprint/cassandra/model/ConfigurableConsistencyLevel.java +++ b/core/src/main/java/me/prettyprint/cassandra/model/ConfigurableConsistencyLevel.java @@ -2,7 +2,6 @@ import java.util.HashMap; import java.util.Map; - import me.prettyprint.cassandra.service.OperationType; import me.prettyprint.hector.api.HConsistencyLevel; import me.prettyprint.hector.api.ConsistencyLevelPolicy; @@ -40,10 +39,12 @@ public HConsistencyLevel get(OperationType op, String cfName) { public void setReadCfConsistencyLevels(Map columnFamilyConsistencyLevels) { this.readCfConsistencyLevels = columnFamilyConsistencyLevels; + log.info("Read ColumnFamily ConsistencyLevels set to: {}", columnFamilyConsistencyLevels); } public void setWriteCfConsistencyLevels(Map columnFamilyConsistencyLevels) { this.writeCfConsistencyLevels = columnFamilyConsistencyLevels; + log.info("Write ColumnFamily ConsistencyLevels set to: {}", columnFamilyConsistencyLevels); } public void setConsistencyLevelForCfOperation(HConsistencyLevel consistencyLevel, @@ -60,10 +61,12 @@ public void setConsistencyLevelForCfOperation(HConsistencyLevel consistencyLevel public void setDefaultReadConsistencyLevel(HConsistencyLevel defaultReadConsistencyLevel) { this.defaultReadConsistencyLevel = defaultReadConsistencyLevel; + log.info("Default read ConsistencyLevel set to: {}", defaultReadConsistencyLevel.toString() + "."); } public void setDefaultWriteConsistencyLevel(HConsistencyLevel defaultWriteConsistencyLevel) { this.defaultWriteConsistencyLevel = defaultWriteConsistencyLevel; + log.info("Default write ConsistencyLevel set to: {}", defaultWriteConsistencyLevel.toString() + "."); }