adjust log

This commit is contained in:
Chris Lu 2016-06-05 09:05:03 -07:00
parent b456173eb8
commit 96d2f11f81

View file

@ -33,10 +33,10 @@ func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) {
t.SetVolumeCapacityFull(v) t.SetVolumeCapacityFull(v)
case dn := <-t.chanRecoveredDataNodes: case dn := <-t.chanRecoveredDataNodes:
t.RegisterRecoveredDataNode(dn) t.RegisterRecoveredDataNode(dn)
glog.V(0).Infoln("DataNode", dn, "is back alive!") glog.V(0).Infoln("Recovered DataNode: %v", dn)
case dn := <-t.chanDeadDataNodes: case dn := <-t.chanDeadDataNodes:
t.UnRegisterDataNode(dn) t.UnRegisterDataNode(dn)
glog.V(0).Infoln("DataNode", dn, "is dead!") glog.V(0).Infof("Dead DataNode: %v", dn)
} }
} }
}() }()