aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-30 13:56:26 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-30 13:56:26 +0200
commit52d72b78a1df37ca0e7721d70188affa9c29f894 (patch)
tree999d63b481f1ba79126e21ec5bf84a0df4e03ffd /sonar-application/src
parent16647f45643c734f6aebb0f32f5c85317c6babd8 (diff)
downloadsonarqube-52d72b78a1df37ca0e7721d70188affa9c29f894.tar.gz
sonarqube-52d72b78a1df37ca0e7721d70188affa9c29f894.zip
SONAR-4898 fix application.log
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/App.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java
index 85b674157b1..a45bfd2fa0c 100644
--- a/sonar-application/src/main/java/org/sonar/application/App.java
+++ b/sonar-application/src/main/java/org/sonar/application/App.java
@@ -70,6 +70,7 @@ public class App implements ProcessMXBean {
.addJavaOpts(installation.prop(DefaultSettings.WEB_JAVA_OPTS_KEY))
.addJavaOpts(DefaultSettings.WEB_JAVA_OPTS_APPENDED_VAL)
.addJavaOpts(String.format("-Djava.io.tmpdir=%s", installation.tempDir().getAbsolutePath()))
+ .addJavaOpts(String.format("-Dsonar.path.logs=%s", installation.logsDir().getAbsolutePath()))
.setClassName("org.sonar.server.app.WebServer")
.setProperties(installation.props().encryptedProperties())
.addClasspath(installation.starPath("extensions/jdbc-driver/mysql"))