diff --git a/pkg/icingadb/history/retention.go b/pkg/icingadb/history/retention.go index 6ebe97c8..c49952e0 100644 --- a/pkg/icingadb/history/retention.go +++ b/pkg/icingadb/history/retention.go @@ -194,6 +194,10 @@ func (r *Retention) StartWithCallback(ctx context.Context, c func(table string, return } + if rs.Count > 0 { + r.logger.Infof("Removed %d old %s history items", rs.Count, category) + } + if c != nil { c(stmt.Table, rs) }