aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-20 15:38:59 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-20 15:38:59 -0700
commitd013d09a9be3fd6a9eea2da6b01d6991d777ba93 (patch)
tree9cf955391f974fc90377eeedd973e4ca964b17ae /weed/server/volume_server.go
parentf498c71199069b3c6b9719417438b56189889dd8 (diff)
downloadseaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.tar.xz
seaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.zip
adjust logging
Diffstat (limited to 'weed/server/volume_server.go')
-rw-r--r--weed/server/volume_server.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go
index b5594faab..5e9ec1369 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -97,9 +97,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
}
go vs.heartbeat()
- glog.V(0).Infof("volume server sends metrics to %s every %d seconds", vs.metricsAddress, vs.metricsIntervalSec)
- hostAddress := fmt.Sprintf("%s:%d", ip, port)
- go stats.LoopPushingMetric("volumeServer", hostAddress, stats.VolumeServerGather, vs.metricsAddress, vs.metricsIntervalSec)
+ go stats.LoopPushingMetric("volumeServer", fmt.Sprintf("%s:%d", ip, port), stats.VolumeServerGather, vs.metricsAddress, vs.metricsIntervalSec)
return vs
}