Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix log error

Chris Lu4c1a3187bfc9
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 5a0dc9e672..fd25e0a6ea 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -229,10 +229,10 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
var startTime time.Time
// Stop heartbeats
- fmt.Println("stop send heartbeat and sleep %d sec", v.preStopSeconds)
+ glog.V(0).Infof("stop send heartbeat and sleep %d seconds ...", v.preStopSeconds)
volumeServer.SendHeartbeat = false
time.Sleep(time.Duration(*v.preStopSeconds) * time.Second)
- fmt.Println("end sleep 20 sec")
+ glog.V(0).Infof("end sleep %d sec", v.preStopSeconds)
// firstly, stop the public http service to prevent from receiving new user request
if nil != publicHttpDown {
startTime = time.Now()