From 964f1f6a7e4cf150331344c40efc516756683509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Matczuk?= Date: Fri, 3 Jan 2020 14:46:37 +0100 Subject: [PATCH] fs/accounting: Restore "Max number of stats groups reached" log line Changed log level to debug. --- fs/accounting/stats_groups.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/accounting/stats_groups.go b/fs/accounting/stats_groups.go index 35b750bd6..269821a0b 100644 --- a/fs/accounting/stats_groups.go +++ b/fs/accounting/stats_groups.go @@ -310,7 +310,7 @@ func (sg *statsGroups) set(group string, stats *StatsInfo) { // Limit number of groups kept in memory. if len(sg.order) >= fs.Config.MaxStatsGroups { group := sg.order[0] - //fs.LogPrintf(fs.LogLevelInfo, nil, "Max number of stats groups reached removing %s", group) + fs.LogPrintf(fs.LogLevelDebug, nil, "Max number of stats groups reached removing %s", group) delete(sg.m, group) r := (len(sg.order) - fs.Config.MaxStatsGroups) + 1 sg.order = sg.order[r:]