aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/source/filer_source.go
diff options
context:
space:
mode:
authorAleksey Kosov <rusyak777@list.ru>2025-06-24 18:44:06 +0300
committerGitHub <noreply@github.com>2025-06-24 08:44:06 -0700
commit4511c2cc1f0aef4f0df8712f17dc62606a9949e0 (patch)
tree0b82709d104ae8882acd14f5047d020df9375524 /weed/replication/source/filer_source.go
parent2cdd8092cc57cb828e92588d5f09f594bcc82f26 (diff)
downloadseaweedfs-4511c2cc1f0aef4f0df8712f17dc62606a9949e0.tar.xz
seaweedfs-4511c2cc1f0aef4f0df8712f17dc62606a9949e0.zip
Changes logging function (#6919)
* updated logging methods for stores * updated logging methods for stores * updated logging methods for filer * updated logging methods for uploader and http_util * updated logging methods for weed server --------- Co-authored-by: akosov <a.kosov@kryptonite.ru>
Diffstat (limited to 'weed/replication/source/filer_source.go')
-rw-r--r--weed/replication/source/filer_source.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/replication/source/filer_source.go b/weed/replication/source/filer_source.go
index 8a63d0c8f..fa9a285d9 100644
--- a/weed/replication/source/filer_source.go
+++ b/weed/replication/source/filer_source.go
@@ -76,14 +76,14 @@ func (fs *FilerSource) LookupFileId(ctx context.Context, part string) (fileUrls
})
if err != nil {
- glog.V(1).Infof("LookupFileId volume id %s: %v", vid, err)
+ glog.V(1).InfofCtx(ctx, "LookupFileId volume id %s: %v", vid, err)
return nil, fmt.Errorf("LookupFileId volume id %s: %v", vid, err)
}
locations := vid2Locations[vid]
if locations == nil || len(locations.Locations) == 0 {
- glog.V(1).Infof("LookupFileId locate volume id %s: %v", vid, err)
+ glog.V(1).InfofCtx(ctx, "LookupFileId locate volume id %s: %v", vid, err)
return nil, fmt.Errorf("LookupFileId locate volume id %s: %v", vid, err)
}