Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reduce/remove debug logging of metadata

  • Loading branch information...
commit d4c61a2291556f4ced34b9507231d7539542d8de 1 parent d037061
@afeinberg afeinberg authored
View
1  src/java/voldemort/client/AbstractStoreClientFactory.java
@@ -141,7 +141,6 @@ public AbstractStoreClientFactory(ClientConfig config) {
InconsistencyResolver<Versioned<V>> resolver) {
// Get cluster and store metadata
String clusterXml = bootstrapMetadataWithRetries(MetadataStore.CLUSTER_KEY, bootstrapUrls);
- logger.info("Cluster xml received " + clusterXml);
Cluster cluster = clusterMapper.readCluster(new StringReader(clusterXml), false);
String storesXml = bootstrapMetadataWithRetries(MetadataStore.STORES_KEY, bootstrapUrls);
List<StoreDefinition> storeDefs = storeMapper.readStoreList(new StringReader(storesXml),
View
4 src/java/voldemort/store/metadata/MetadataStore.java
@@ -249,8 +249,8 @@ public Object getCapability(StoreCapabilityType capability) {
Versioned<String> value = convertObjectToString(key, metadataCache.get(key));
// Metadata debugging information
- if(logger.isDebugEnabled())
- logger.debug("Key " + key + " requested, returning " + value.getValue());
+ if(logger.isTraceEnabled())
+ logger.trace("Key " + key + " requested, returning: " + value.getValue());
values.add(new Versioned<byte[]>(ByteUtils.getBytes(value.getValue(), "UTF-8"),
value.getVersion()));
Please sign in to comment.
Something went wrong with that request. Please try again.