diff --git a/pkg/sqlite/commit.go b/pkg/sqlite/commit.go index 36bdca18c6e4724ddfb1e696f79d105f92bd6cf2..e76424330c417c4ad03e02b35c5dbd0b46af1003 100644 --- a/pkg/sqlite/commit.go +++ b/pkg/sqlite/commit.go @@ -57,6 +57,7 @@ func (c *Context) CleanUpRecordsByAge() error { //no events elligible if len(sos) == 0 || ret.RowsAffected == 0 { + log.Infof("no event older than %s", c.maxDurationRetention.String()) return nil } //let's do it in a single transaction