diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-01-22 15:37:59 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-01-22 15:37:59 -0800 |
| commit | 66ded8804aac639e62b2a5a9c45fd9b4ccf92567 (patch) | |
| tree | 88164222758f6f60b318257b1cc302e993ed02b5 | |
| parent | 6b48d246a5d7943527d1948e352c9906e9d01a17 (diff) | |
| download | seaweedfs-66ded8804aac639e62b2a5a9c45fd9b4ccf92567.tar.xz seaweedfs-66ded8804aac639e62b2a5a9c45fd9b4ccf92567.zip | |
adjust logging
| -rw-r--r-- | weed/filesys/dir.go | 1 | ||||
| -rw-r--r-- | weed/filesys/file.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index 91e42fc0a..f4132cbf0 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -246,7 +246,6 @@ func (dir *Dir) ReadDirAll(ctx context.Context) (ret []fuse.Dirent, err error) { dirent := fuse.Dirent{Inode: inode, Name: entry.Name, Type: fuse.DT_File} ret = append(ret, dirent) } - glog.V(4).Infof("dir ReadDirAll : %s %+v", fullpath, entry) dir.wfs.cacheSet(fullpath, entry, cacheTtl) }) if readErr != nil { diff --git a/weed/filesys/file.go b/weed/filesys/file.go index e15d55b5b..b1d53507b 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -68,7 +68,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error { func (file *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, resp *fuse.GetxattrResponse) error { - glog.V(4).Infof("file Getxattr %s", file.fullpath()) + // glog.V(4).Infof("file Getxattr %s", file.fullpath()) if err := file.maybeLoadEntry(ctx); err != nil { return err |
