adjust logging

This commit is contained in:
Chris Lu 2013-11-10 01:47:27 -08:00
parent 1888d01fa0
commit 0702eee3b1

View file

@ -21,14 +21,14 @@ func NewMetaStoreEtcdBacking(etcdCluster string) *MetaStoreEtcdBacking {
func (m MetaStoreEtcdBacking) Set(path, val string) error {
res, e := m.client.Set(path, val, 0)
glog.V(0).Infof("etcd set response: %+v\n", res)
glog.V(2).Infof("etcd set response: %+v\n", res)
return e
}
func (m MetaStoreEtcdBacking) Get(path string) (string, error) {
results, err := m.client.Get(path)
for i, res := range results {
glog.V(0).Infof("[%d] get response: %+v\n", i, res)
glog.V(2).Infof("[%d] get response: %+v\n", i, res)
}
if err != nil {
return "", err