diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2013-12-03 15:30:12 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2013-12-03 17:20:56 +0100 |
commit | c55a6087e8cfd1acbe3956a08c0583d7c6f19e91 (patch) | |
tree | 4e3d6aa6a1ded3b34c76506191126319b34d1047 /sonar-application | |
parent | 40e28a29366db2fa3a7507ba545a2a0505d468ec (diff) | |
download | sonarqube-c55a6087e8cfd1acbe3956a08c0583d7c6f19e91.tar.gz sonarqube-c55a6087e8cfd1acbe3956a08c0583d7c6f19e91.zip |
SONAR-4756 Show Rails logs when profiling level is FULL
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/Webapp.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/Webapp.java b/sonar-application/src/main/java/org/sonar/application/Webapp.java index a84e705fcaf..c91d74d0f3f 100644 --- a/sonar-application/src/main/java/org/sonar/application/Webapp.java +++ b/sonar-application/src/main/java/org/sonar/application/Webapp.java @@ -28,14 +28,14 @@ class Webapp { private static final String JRUBY_MAX_RUNTIMES = "jruby.max.runtimes"; private static final String RAILS_ENV = "rails.env"; private static final String PROPERTY_CONTEXT = "sonar.web.context"; - private static final String PROPERTY_LOG_VERBOSE = "sonar.log.verbose"; + private static final String PROPERTY_LOG_PROFILING_LEVEL = "sonar.log.profilingLevel"; static void configure(Tomcat tomcat, Env env, Props props) { String ctx = getContext(props); try { Context context = tomcat.addWebapp(ctx, env.file("web").getAbsolutePath()); context.setConfigFile(env.file("web/META-INF/context.xml").toURI().toURL()); - context.addParameter(PROPERTY_LOG_VERBOSE, props.of(PROPERTY_LOG_VERBOSE, "false")); + context.addParameter(PROPERTY_LOG_PROFILING_LEVEL, props.of(PROPERTY_LOG_PROFILING_LEVEL, "NONE")); configureRailsMode(props, context); context.setJarScanner(new NullJarScanner()); |