diff options
Diffstat (limited to 'sonar-application/src')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/App.java | 1 |
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")) |