voldemort/voldemort — pull request #175 by zhongjiewu (2014-04-28 07:48:02+00:00)
Title: Clean logging messages

Origina Logging Message for client
```
[00:47:36,114 voldemort.common.service.VoldemortService] INFO Starting scheduler-service [main]
[00:47:36,180 voldemort.client.ZenStoreClient] INFO Bootstrapping metadata for store test [main]
[00:47:36,240 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [test] [main]
[00:47:36,348 voldemort.client.AbstractStoreClientFactory] INFO Failure detector is null. Creating a new FD. [main]
[00:47:36,362 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
[00:47:36,396 voldemort.client.ZenStoreClient] INFO Creating system stores for store test [main]
[00:47:36,396 voldemort.client.AbstractStoreClientFactory] INFO Failure detector already exists. Updating the state and flushing cached verifier stores. [main]
[00:47:36,397 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [voldsys$_client_registry] [main]
[00:47:36,403 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
[00:47:36,405 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [voldsys$_metadata_version_persistence] [main]
[00:47:36,410 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
[00:47:36,410 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [voldsys$_store_quotas] [main]
[00:47:36,414 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
[00:47:36,414 voldemort.client.ZenStoreClient] ERROR Unable to publish the client registry after bootstrap. Client Registry Refresher is NULL. [main]
[00:47:36,432 voldemort.client.ZenStoreClient] INFO Metadata version check thread started. Frequency = Every 5000 ms [main]
[00:47:36,444 voldemort.client.scheduler.ClientRegistryRefresher] INFO Initial version obtained from client registry: version(0:3) ts:1398671256443 [main]
[00:47:36,445 voldemort.client.ZenStoreClient] INFO Client registry refresher thread started, refresh interval: 43200 seconds [main]
[00:47:36,445 voldemort.client.ZenStoreClient] INFO Voldemort client created: .test@wzj-mba.nsition.com:/Users/wzj/ws/v-admin-refactor

bootstrapTime=1398671256414
context=
deploymentPath=/Users/wzj/ws/v-admin-refactor
localHostName=wzj-mba.nsition.com
sequence=0
storeName=test
updateTime=1398671256118
releaseVersion=1.8.0
clusterMetadataVersion=0
max_connections=50
max_total_connections=500
connection_timeout_ms=500
socket_timeout_ms=5000
routing_timeout_ms=5000
client_zone_id=-1
failuredetector_implementation=voldemort.cluster.failuredetector.ThresholdFailureDetector
failuredetector_threshold=95
failuredetector_threshold_count_minimum=30
failuredetector_threshold_interval=300000
failuredetector_threshold_async_recovery_interval=10000
[main]
[00:47:36,529 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-1]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-2]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-3]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-5]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-8]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-4]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-7]
[00:47:36,530 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting [voldemort-niosocket-client-6]
[00:47:36,531 voldemort.store.socket.clientrequest.ClientRequestExecutor] WARN No client associated with Socket[unconnected] [main]
[00:47:36,531 voldemort.store.socket.clientrequest.ClientRequestExecutor] INFO Closing remote connection from Socket[unconnected] [main]
[00:47:36,533 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [voldsys$_metadata_version_persistence] [main]
[00:47:36,541 voldemort.client.AbstractStoreClientFactory] INFO Failure detector is null. Creating a new FD. [main]
[00:47:36,541 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
[00:47:36,541 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to obtain metadata for store [voldsys$_store_quotas] [main]
[00:47:36,546 voldemort.client.AbstractStoreClientFactory] INFO Failure detector already exists. Updating the state and flushing cached verifier stores. [main]
[00:47:36,546 voldemort.store.routed.PipelineRoutedStore] WARN Client Zone is not specified. Will use first zone in cluster [main]
Established connection to test via tcp://localhost:6666/
```

New Logging Messages
```
[00:46:26,490 voldemort.common.service.VoldemortService] INFO Starting scheduler-service [main]
[00:46:26,559 voldemort.client.ZenStoreClient] INFO Bootstrapping metadata for store test [main]
[00:46:26,618 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [test] [main]
[00:46:26,763 voldemort.client.ZenStoreClient] INFO Creating system stores for store test [main]
[00:46:26,763 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [voldsys$_client_registry] [main]
[00:46:26,769 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [voldsys$_metadata_version_persistence] [main]
[00:46:26,775 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [voldsys$_store_quotas] [main]
[00:46:26,795 voldemort.client.ZenStoreClient] INFO Metadata version check thread started. Frequency = Every 5000 ms [main]
[00:46:26,807 voldemort.client.scheduler.ClientRegistryRefresher] INFO Initial version obtained from client registry: version(0:2) ts:1398671186807 [main]
[00:46:26,808 voldemort.client.ZenStoreClient] INFO Client registry refresher thread started, refresh interval: 43200 seconds [main]
[00:46:26,808 voldemort.client.ZenStoreClient] INFO Voldemort client created: .test@wzj-mba.nsition.com:/Users/wzj/ws/v-admin-refactor

bootstrapTime=1398671186780
context=
deploymentPath=/Users/wzj/ws/v-admin-refactor
localHostName=wzj-mba.nsition.com
sequence=0
storeName=test
updateTime=1398671186494
releaseVersion=1.8.0
clusterMetadataVersion=0
max_connections=50
max_total_connections=500
connection_timeout_ms=500
socket_timeout_ms=5000
routing_timeout_ms=5000
client_zone_id=-1
failuredetector_implementation=voldemort.cluster.failuredetector.ThresholdFailureDetector
failuredetector_threshold=95
failuredetector_threshold_count_minimum=30
failuredetector_threshold_interval=300000
failuredetector_threshold_async_recovery_interval=10000
[main]
[00:46:26,898 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [voldsys$_metadata_version_persistence] [main]
[00:46:26,907 voldemort.client.AbstractStoreClientFactory] INFO Client zone-id [-1] Attempting to get raw store [voldsys$_store_quotas] [main]
Established connection to test via tcp://localhost:6666/
>
```