aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/store_vacuum.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/store_vacuum.go')
-rw-r--r--weed/storage/store_vacuum.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/store_vacuum.go b/weed/storage/store_vacuum.go
index 32666a417..d4ad1b1a9 100644
--- a/weed/storage/store_vacuum.go
+++ b/weed/storage/store_vacuum.go
@@ -4,13 +4,13 @@ import (
"fmt"
"github.com/chrislusf/seaweedfs/weed/stats"
- "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/util/log"
"github.com/chrislusf/seaweedfs/weed/storage/needle"
)
func (s *Store) CheckCompactVolume(volumeId needle.VolumeId) (float64, error) {
if v := s.findVolume(volumeId); v != nil {
- glog.V(3).Infof("volumd %d garbage level: %f", volumeId, v.garbageLevel())
+ log.Tracef("volumd %d garbage level: %f", volumeId, v.garbageLevel())
return v.garbageLevel(), nil
}
return 0, fmt.Errorf("volume id %d is not found during check compact", volumeId)