vfs: Quiet removeNotInUse logging to debug when not removing

This commit is contained in:
Sam Edwards 2020-09-01 17:58:49 -07:00 committed by Nick Craig-Wood
parent 78abd21eec
commit 23b2c58018

View File

@ -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
}