diff options
| author | chrislu <chris.lu@gmail.com> | 2025-05-22 09:54:31 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-05-22 09:54:31 -0700 |
| commit | 0d62be44846354c3c37b857028297edd4b8df17b (patch) | |
| tree | c89320a7d58351030f1b740c7267f56bf0206429 /weed/filer/remote_storage.go | |
| parent | d8c574a5ef1a811f9a0d447097d9edfcc0c1d84c (diff) | |
| download | seaweedfs-origin/changing-to-zap.tar.xz seaweedfs-origin/changing-to-zap.zip | |
Diffstat (limited to 'weed/filer/remote_storage.go')
| -rw-r--r-- | weed/filer/remote_storage.go | 6 |
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 |
