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

Enable json logging for K8s

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: None
    • Labels:
      None
    • Edition:
      Data Center
    • Production Notes:
      None

      Description

      Json logging should not be default in kubernetes, but it should be clearly visible in a Helm Chart how to change.

      This configuration is already provided and can be enabled by using "sonar.log.useJsonOutput" property.

      Though several things are required to be checked/adjusted:

      • Rename property to `sonar.log.use.jsonOutput`
      • This property might not be reachable from env var - fix if needed
      • on single node it applies only for app and ce, does not work for ES - though it requires fix for search nodes

        Attachments

          Activity

            People

            Assignee:
            jacek.poreda Jacek Poreda
            Reporter:
            jacek.poreda Jacek Poreda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: