Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8337

ES request logs level should be individually controlled by a property

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: