aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filer_buckets.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/filer_buckets.go')
-rw-r--r--weed/filer/filer_buckets.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/filer/filer_buckets.go b/weed/filer/filer_buckets.go
index 4d4f4abc3..b0dba7955 100644
--- a/weed/filer/filer_buckets.go
+++ b/weed/filer/filer_buckets.go
@@ -5,7 +5,7 @@ import (
"math"
"sync"
- "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/util/log"
"github.com/chrislusf/seaweedfs/weed/util"
)
@@ -32,7 +32,7 @@ func (f *Filer) LoadBuckets() {
entries, err := f.ListDirectoryEntries(context.Background(), util.FullPath(f.DirBucketsPath), "", false, limit, "")
if err != nil {
- glog.V(1).Infof("no buckets found: %v", err)
+ log.Debugf("no buckets found: %v", err)
return
}
@@ -41,7 +41,7 @@ func (f *Filer) LoadBuckets() {
shouldFsyncMap[bucket] = true
}
- glog.V(1).Infof("buckets found: %d", len(entries))
+ log.Debugf("buckets found: %d", len(entries))
f.buckets.Lock()
for _, entry := range entries {