Logging Defaults

Must-share information

  • which versions are you using: SonarQube 7.9.2
  • what are you trying to achieve: Figure out what the default logging rotation setting are
  • what have you tried so far to achieve this: Tried looking in sonar.properties and through the GUI

I am trying to figure out what the default logging rotation settings are. It appears that everyday, logs files are created for the previous day. I need to know how long they hang around for. I looked at the sonar.properties file, but everything in there is commented out. So I’m confused where these setting are located and how they are set. Any guidance would be appreciated.


The docs should help. The fact that the logging stuff is commented out in your properties file means that you’re running on the defaults, which should correspond to those commented-out values.

You may also be interested in the details of the ticket where this was last worked on.


Thank you! That is what I assumed, but I couldn’t find it explicitly stated in the docs.

And yes, I was interested in that ticket. Thanks again!