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

Make log rotation more configurable for production

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      When hosting a SQ instance, we need to be able to have finer control over the log rotation of SonarQube.

      In 5.0 configuration there is rollover every 10Mb of logs and only 5 files are kept.

      In order to keep the configuration simple and production ready, I think that the best option is :

      • to rollover daily,
      • to allow the administrator to set the maximum number of files kept (by default could be 7).

      So if the administrator needs to do some analysis he can tweak the values.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              ehartmann OLD - Eric Hartmann
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: