aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-search/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-search/src')
-rw-r--r--server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java b/server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java
index e87b06307b4..adeab47a2d2 100644
--- a/server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java
+++ b/server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java
@@ -42,7 +42,7 @@ public class SearchLogging {
helper.configureGlobalFileLog(props, config, logPattern);
helper.configureForSubprocessGobbler(props, logPattern);
- helper.apply(LogLevelConfig.newBuilder().rootLevelFor(ProcessId.ELASTICSEARCH).build(), props);
+ helper.apply(LogLevelConfig.newBuilder(helper.getRootLoggerName()).rootLevelFor(ProcessId.ELASTICSEARCH).build(), props);
return ctx;
}