diff options
author | Tobias Trabelsi <64127335+tobias-trabelsi-sonarsource@users.noreply.github.com> | 2020-12-04 11:04:37 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-12-04 20:06:50 +0000 |
commit | 8ad3617044bca10e19be9bd746a87076d2621cb0 (patch) | |
tree | 1b5137d030fe72bb3bdde078f6aba8a0966e6a9a /sonar-application/src/main/assembly/conf | |
parent | ef6108f18b162a100b93dfc377811a5ae5342ae4 (diff) | |
download | sonarqube-8ad3617044bca10e19be9bd746a87076d2621cb0.tar.gz sonarqube-8ad3617044bca10e19be9bd746a87076d2621cb0.zip |
SONAR-10662 updated docs to match wrapper behaviour
Diffstat (limited to 'sonar-application/src/main/assembly/conf')
-rw-r--r-- | sonar-application/src/main/assembly/conf/sonar.properties | 3 | ||||
-rw-r--r-- | sonar-application/src/main/assembly/conf/wrapper.conf | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 109cafd5a12..98ccb45e65b 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -327,8 +327,9 @@ # Compute Engine (aka. CE) logs in ce.log # Elasticsearch (aka. ES) logs in es.log # -# All 4 files follow the same rolling policy (see sonar.log.rollingPolicy and sonar.log.maxFiles) but it applies +# Depending on the startup, all 4 files follow the same rolling policy (see sonar.log.rollingPolicy and sonar.log.maxFiles) but it applies # individually (eg. if sonar.log.maxFiles=4, there can be at most 4 of each files, ie. 16 files in total). +# If the SonarQube wrapper is used (for example, with the provided start.sh script), the sonar.log rotation policy needs to be set in the wrapper.conf # # All 4 files have logs in the same format: # 1 2 3 4 5 6 diff --git a/sonar-application/src/main/assembly/conf/wrapper.conf b/sonar-application/src/main/assembly/conf/wrapper.conf index dcadc77e0a5..fbc3e116e7c 100644 --- a/sonar-application/src/main/assembly/conf/wrapper.conf +++ b/sonar-application/src/main/assembly/conf/wrapper.conf @@ -29,9 +29,10 @@ wrapper.java.maxmemory=32 wrapper.console.format=PM wrapper.console.loglevel=INFO -wrapper.logfile=../../logs/sonar.log wrapper.logfile.format=M wrapper.logfile.loglevel=INFO +wrapper.logfile.rollmode=DATE +wrapper.logfile=../../logs/sonar-YYYYMMDD.log # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value |