From 96d2f11f81387d645d7e50f2a66710baebfc04f4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 5 Jun 2016 09:05:03 -0700 Subject: [PATCH] adjust log --- weed/topology/topology_event_handling.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/topology/topology_event_handling.go b/weed/topology/topology_event_handling.go index 737b94482..476aaf4d8 100644 --- a/weed/topology/topology_event_handling.go +++ b/weed/topology/topology_event_handling.go @@ -33,10 +33,10 @@ func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) { t.SetVolumeCapacityFull(v) case dn := <-t.chanRecoveredDataNodes: t.RegisterRecoveredDataNode(dn) - glog.V(0).Infoln("DataNode", dn, "is back alive!") + glog.V(0).Infoln("Recovered DataNode: %v", dn) case dn := <-t.chanDeadDataNodes: t.UnRegisterDataNode(dn) - glog.V(0).Infoln("DataNode", dn, "is dead!") + glog.V(0).Infof("Dead DataNode: %v", dn) } } }()