aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2016-06-05 09:05:03 -0700
committerChris Lu <chris.lu@gmail.com>2016-06-05 09:05:03 -0700
commit96d2f11f81387d645d7e50f2a66710baebfc04f4 (patch)
tree109eca2cf30b1597d74f9064bc86394cf2fc73fc
parentb456173eb8d72ad2a01fb53aa30d4b7b8179c205 (diff)
downloadseaweedfs-96d2f11f81387d645d7e50f2a66710baebfc04f4.tar.xz
seaweedfs-96d2f11f81387d645d7e50f2a66710baebfc04f4.zip
adjust log
-rw-r--r--weed/topology/topology_event_handling.go4
1 files 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)
}
}
}()