diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-08-15 18:24:35 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-08-15 18:24:35 -0700 |
| commit | 6ee8d952d24181e3b0b590aef77e96b289d49f73 (patch) | |
| tree | 7f8d4ca1d93018dd1c2465f98fd2598c550553b7 | |
| parent | 3e1395b767f1ec4e5c12362342f5a34bde827012 (diff) | |
| download | seaweedfs-6ee8d952d24181e3b0b590aef77e96b289d49f73.tar.xz seaweedfs-6ee8d952d24181e3b0b590aef77e96b289d49f73.zip | |
adjust log level
| -rw-r--r-- | weed/filesys/dir.go | 4 | ||||
| -rw-r--r-- | weed/filesys/file.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index 7d099c395..0bfb009f0 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -63,7 +63,7 @@ func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error { attr.Gid = dir.entry.Attributes.Gid attr.Uid = dir.entry.Attributes.Uid - glog.V(4).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr) + glog.V(5).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr) return nil } @@ -430,7 +430,7 @@ func (dir *Dir) Listxattr(ctx context.Context, req *fuse.ListxattrRequest, resp } func (dir *Dir) Forget() { - glog.V(4).Infof("Forget dir %s", dir.FullPath()) + glog.V(5).Infof("Forget dir %s", dir.FullPath()) dir.wfs.fsNodeCache.DeleteFsNode(util.FullPath(dir.FullPath())) } diff --git a/weed/filesys/file.go b/weed/filesys/file.go index 519e12c59..b6242c774 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -232,7 +232,7 @@ func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error { func (file *File) Forget() { t := util.NewFullPath(file.dir.FullPath(), file.Name) - glog.V(4).Infof("Forget file %s", t) + glog.V(5).Infof("Forget file %s", t) file.wfs.fsNodeCache.DeleteFsNode(t) } |
