aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-22 14:31:10 -0800
committerChris Lu <chris.lu@gmail.com>2018-11-22 14:31:10 -0800
commitd64546c7918216611ba373493193742a37a5974a (patch)
tree09ad9a6b9a2167cb8baf1ef82fc5719b7fb48166
parente12b6c030641a96ee5c7575d7f98199784a6a54b (diff)
downloadseaweedfs-d64546c7918216611ba373493193742a37a5974a.tar.xz
seaweedfs-d64546c7918216611ba373493193742a37a5974a.zip
adjust logs
-rw-r--r--weed/topology/volume_layout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go
index 44a25565e..8c0a75140 100644
--- a/weed/topology/volume_layout.go
+++ b/weed/topology/volume_layout.go
@@ -46,7 +46,7 @@ func (vl *VolumeLayout) RegisterVolume(v *storage.VolumeInfo, dn *DataNode) {
vl.vid2location[v.Id] = NewVolumeLocationList()
}
vl.vid2location[v.Id].Set(dn)
- glog.V(4).Infoln("volume", v.Id, "added to dn", dn.Id(), "len", vl.vid2location[v.Id].Length(), "copy", v.ReplicaPlacement.GetCopyCount())
+ glog.V(4).Infof("volume %d added to %s len %s copy %d", v.Id, dn.Id(), vl.vid2location[v.Id].Length(), v.ReplicaPlacement.GetCopyCount())
for _, dn := range vl.vid2location[v.Id].list {
if v_info, err := dn.GetVolumesById(v.Id); err == nil {
if v_info.ReadOnly {