We should simply add one parameter to the DB Cleaner to tell when to purged the logs of CE tasks:
- Key: sonar.dbcleaner.countBeforeDeletingAnalysisLogs
- Name: Analysis Log Retention
- Description: Number of analysis logs kept for a given project. Once the number of logs exceeds this limit, oldest logs are purged.
- Default value: 10