aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/remote_storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/remote_storage.go')
-rw-r--r--weed/filer/remote_storage.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/filer/remote_storage.go b/weed/filer/remote_storage.go
index 3764fbac6..002840d52 100644
--- a/weed/filer/remote_storage.go
+++ b/weed/filer/remote_storage.go
@@ -12,7 +12,7 @@ import (
"math"
"strings"
- "github.com/seaweedfs/seaweedfs/weed/glog"
+ "github.com/seaweedfs/seaweedfs/weed/util/log"
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
"github.com/viant/ptrie"
)
@@ -43,7 +43,7 @@ func (rs *FilerRemoteStorage) LoadRemoteStorageConfigurationsAndMapping(filer *F
if err == filer_pb.ErrNotFound {
return nil
}
- glog.Errorf("read remote storage %s: %v", DirectoryEtcRemote, err)
+ log.Errorf("read remote storage %s: %v", DirectoryEtcRemote, err)
return
}
@@ -125,7 +125,7 @@ func UnmarshalRemoteStorageMappings(oldContent []byte) (mappings *remote_pb.Remo
}
if len(oldContent) > 0 {
if err = proto.Unmarshal(oldContent, mappings); err != nil {
- glog.Warningf("unmarshal existing mappings: %v", err)
+ log.Warningf("unmarshal existing mappings: %v", err)
}
}
return