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

Despite "sonar.log.useJsonOutput" is enabled some logs are still not in a JSON format

    XMLWordPrintable

    Details

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

      Description

      There are logs which are not written as JSON format despite enabling property "sonar.log.useJsonOutput".

      Both are coming from ES:

      ```
      warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release - from sh file
      ```

      ```
      OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. - we set it in the code - worth getting rid of it
      see: org.sonar.application.command.EsJvmOptions#fromJvmDotOptionsFile
      ```

      Fix issues associated with logs if possible.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: