diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-29 13:48:00 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-12-01 12:29:40 +0100 |
commit | 1f9bb0b02f646739bfbdfe9dc9e8ed15c86e4e52 (patch) | |
tree | 2338a6b5d034cc174fd18cf36c72970d2004d337 /sonar-application/src/main/java/org/sonar/application | |
parent | 93ea99696bfed149fa1f46888e864b3bde4b4328 (diff) | |
download | sonarqube-1f9bb0b02f646739bfbdfe9dc9e8ed15c86e4e52.tar.gz sonarqube-1f9bb0b02f646739bfbdfe9dc9e8ed15c86e4e52.zip |
SONAR-8335 make changing root level change level of all loggers
Diffstat (limited to 'sonar-application/src/main/java/org/sonar/application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/AppLogging.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/AppLogging.java b/sonar-application/src/main/java/org/sonar/application/AppLogging.java index 84d0b074b0f..284fef1466d 100644 --- a/sonar-application/src/main/java/org/sonar/application/AppLogging.java +++ b/sonar-application/src/main/java/org/sonar/application/AppLogging.java @@ -24,6 +24,7 @@ import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.ConsoleAppender; import ch.qos.logback.core.FileAppender; +import org.sonar.process.logging.LogLevelConfig; import org.sonar.process.logging.LogbackHelper; import org.sonar.process.ProcessId; import org.sonar.process.Props; @@ -127,7 +128,7 @@ class AppLogging { } else { configureWithWrapperWritingToFile(ctx); } - helper.configureRootLogLevel(props, ProcessId.APP); + helper.apply(LogLevelConfig.newBuilder().rootLevelFor(ProcessId.APP).build(), props); return ctx; } |