I’m using SonarQube 9.2 and currently deploying it with docker.
I’m trying to figure out if I can convert the log format to a Json or perhaps specify the format I want with a property.
Even better if I can also inject new properties such as traceId from Otel or New Relic Agent.
Hi @pragmaticivan and welcome to the community
you can set the stdout logging of sonarqube to json with the environment variable
SONAR_LOG_JSONOUTPUT=true. a configuration of the log format is currently not possible.
hope that helps
Hi Tobias, thanks for your answer. You might want to update the docs to include that information https://docs.sonarqube.org/latest/instance-administration/system-info/