From 66ded8804aac639e62b2a5a9c45fd9b4ccf92567 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 22 Jan 2020 15:37:59 -0800 Subject: [PATCH] adjust logging --- weed/filesys/dir.go | 1 - weed/filesys/file.go | 2 +- 2 files changed, 1 insertion(+), 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