vfs: Quiet removeNotInUse logging to debug when not removing
This commit is contained in:
parent
78abd21eec
commit
23b2c58018
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ func (c *Cache) removeNotInUse(item *Item, maxAge time.Duration, emptyOnly bool)
|
||||||
// Remove the entry
|
// Remove the entry
|
||||||
delete(c.item, item.name)
|
delete(c.item, item.name)
|
||||||
} else {
|
} 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
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue