From 23b2c58018289080abc914a39f5f560de6627451 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Tue, 1 Sep 2020 17:58:49 -0700 Subject: [PATCH] vfs: Quiet removeNotInUse logging to debug when not removing --- vfs/vfscache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vfs/vfscache/cache.go b/vfs/vfscache/cache.go index eef969361..11958138b 100644 --- a/vfs/vfscache/cache.go +++ b/vfs/vfscache/cache.go @@ -453,7 +453,7 @@ func (c *Cache) removeNotInUse(item *Item, maxAge time.Duration, emptyOnly bool) // Remove the entry delete(c.item, item.name) } else { - fs.Infof(nil, "vfs cache RemoveNotInUse (maxAge=%d, emptyOnly=%v): item %s not removed, freed %d bytes", maxAge, emptyOnly, item.GetName(), spaceFreed) + fs.Debugf(nil, "vfs cache RemoveNotInUse (maxAge=%d, emptyOnly=%v): item %s not removed, freed %d bytes", maxAge, emptyOnly, item.GetName(), spaceFreed) } return }