Currently, to display the ES request logs the TRACE level must be enabled in SonarQube. This is hardly convenient as all TRACE logs of any part of code is enabled as well which creates a lot of noise and makes the performance impact even worse.
To fix this :
- property sonar.log.level.web.es and sonar.log.level.ce.es are added. These properties allow to control the log level of ES requests for respectively the Web and CE JVMs
- logger of ES requests is changed to "es"
- log level of ES requests stays TRACE
The level of the most accurate and defined property among sonar.log.level and sonar.log.level.web (or sonar.log.level.ce depending on the JVM) must be applied.